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

[rush] 5.180.0 `rush.lock` file causing failures

Aperta
#6,114 0 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
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript

Direzione di ricerca

Start by comparing rush install and rush update with Rush 5.179.0 and 5.180.0 on Windows 11, using the versions and settings listed for rush.json and pnpm-config.json. Check how each attempt affects common/temp/rush.lock; done means the 5.180.0 commands no longer fail with the reported lock-path error.

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

Descrizione

Summary

Rush version 5.180.0 seems to break on rush install and rush update. Both of these commands work fine when using 5.179.0, but as soon as we set rushVersion to 5.180.0, the following error appears:

ERROR: The lock path must identify one unshared regular file: V:\[REPOSITORY]\common\temp\rush.lock

This file seems to persist after any attempt to invoke a rush command, and is always completely empty.

We noticed a similar issue in our pipelines too. All attempts to invoke rush commands have been failing since just after the release of 5.180.0 (we install latest).

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.180.0
rushVersion from rush.json? 5.180.0
pnpmVersion, npmVersion, or yarnVersion from rush.json? 10.14.0
(if pnpm) useWorkspaces from pnpm-config.json? true
Operating system? Windows 11
Would you consider contributing a PR? Doesn't seem applicable
Node.js version (node -v)? 22.16.0
Lingua principale
TypeScript
Stelle
6.5k
Fork
710
Merge medio
1g 21h
PR unite (30g)
46

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 microsoft/rushstack

Tutte le issue di microsoft/rushstack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.