[BUG]: Used Node version 12, but encountered an unsupported version error while installing dependencies.

Aperta
#35 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
lua, nodejs
Ambito
tooling

Direzione di ricerca

The payload names no source files, so start by reproducing the report: install Node 12 through vfox, activate it with vfox use node@12, and check which node and yarn binaries resolve on PATH when the machine also has two other Node installs. The screenshots show the yarn engine error but the issue does not say which lookup path yarn uses. Done means yarn accepts the vfox-selected Node 12, or the cause is identified and documented.

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

Descrizione

invalid
I specified the version in the project using vfox use node@12

image

Using node -v to check the version, it indeed confirms the successful switch.

image

But when using yarn to install dependencies, it prompts that the node version is not supported and indicates that I am using a different node version.

image

In my system, there are three versions of Node.

image

Lingua principale
Go
Stelle
10
Fork
8
Merge medio
1h 51m
PR unite (30g)
12

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
  • Nessun 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 version-fox/vfox-nodejs

Tutte le issue di version-fox/vfox-nodejs

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.