Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Make global packages always available

Aperta
#13 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
nodejs
Ambito
cli, tooling

Direzione di ricerca

The issue describes npm global packages disappearing after vfox use switches Node.js versions, but names no files, tests, or entry points. Start by locating the vfox-nodejs handling for npm install -g and version switching; done would mean a globally installed command remains available and runs with the Node.js version where it was installed.

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

Descrizione

enhancement help wanted

A very nice feature would be to make global packages are always available, like with Volta.

Current behavior

  1. Run npm install -g rimraf with a NodeJS managed by vfox
  2. The rimraf command is available
  3. Run vfox use to a different NodeJS version
  4. The rimraf command isn't found anymore

Expected behavior

  1. Run npm install -g rimraf with a NodeJS managed by vfox
  2. The rimraf command is available
  3. Run vfox use to a different NodeJS version
  4. The `rimraf command is available and it is ran by the NodeJS version on which it was installed.

I guess it may need some major changes to vfox core but it could also benefit other platforms, like Bun, Deno and Python pip packages.

Lingua principale
Lua
Stelle
9
Fork
8
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.