Pkgx errors on yarn 1

Aperta
#8,424 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
tooling

Direzione di ricerca

Reproduce the failure with the package.json containing [email protected] and a neighboring pkgx.yaml, starting with the pkgx dev on entry point. Compare the current handling of packageManager and the local manifest; done when Yarn 1 is available without editing package.json locally and the reported version-unavailable error no longer occurs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

example $ pkgx --version
pkgx 1.3.1
example $ ls
package.json
example $ cat package.json
{
    "packageManager": "[email protected]"
}
example $ dev on
× version unavailable [email protected]
│ please check the following url for available versions
│ if it’s not there, we’ll build it! open a ticket on the pantry.
╰─➤ https://dist.pkgx.dev/?prefix=yarnpkg.com/darwin/aarch64

I updated today (dunno what I was on before. 1.1.6 maybe?), and hit this error.

I can't easily change the package.json, since we're a whole team using it. I've been fine just adding my own pkgx.yaml next to it before - pkgx would install both yarns but it ran fine - but that doesn't work anymore, so now I have to edit the package.json locally to use pkgx and deal with reapplying the local changes whenever I change branches etc.

pkgxdev/dev#24 is probably related, but more theoretical. This is an error.

Lingua principale
C
Stelle
199
Fork
142
Merge medio
2h 33m
PR unite (30g)
145

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pkgxdev/pantry

Tutte le issue di pkgxdev/pantry

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.