[lockfile-explorer] Current version (2.0.7) does not work with my Rush repo with pnpm 8.15.7
@octogonz ci sta già lavorando.
Dal 3/12/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
I tried to use lockfile-explorer to run in my Rush repo, and throw an Error when I run lockfile-explorer:
lockfile-explorer
Rush Lockfile Explorer 2.0.7 - https://lfx.rushstack.io/
Found a Rush workspace: /path/to/my/project/client/rush.json
The experiment "phasedCommands" has graduated to a standard feature. Remove this experiment from "/path/to/my/project/client/common/config/rush/experiments.json".
App launched on http://localhost:8091
/my-folder/.volta/tools/image/packages/@rushstack/lockfile-explorer/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lfxGraphLoader.js:254
throw new Error('Expecting leading "/" in path: ' + JSON.stringify(rawEntryId));
^
Error: Expecting leading "/" in path: "registry.npmjs.org/@_ueberdosis/[email protected]"
at createPackageLockfileEntry (/my-folder/.volta/tools/image/packages/@rushstack/lockfile-explorer/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lfxGraphLoader.js:254:19)
at Object.generateLockfileGraph (/my-folder/.volta/tools/image/packages/@rushstack/lockfile-explorer/lib/node_modules/@rushstack/lockfile-explorer/lib/graph/lfxGraphLoader.js:421:39)
at /my-folder/.volta/tools/image/packages/@rushstack/lockfile-explorer/lib/node_modules/@rushstack/lockfile-explorer/lib/cli/explorer/ExplorerCommandLineParser.js:155:42
Node.js v22.16.0
Repro steps
Expected result: I expect it to work as it did in 1.7.42 since I downgrade it to that version and it worked.
Actual result: Throws an error and end the process.
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question | Answer |
|---|---|
@rushstack/lockfile-explorer version? |
2.0.7 |
| Operating system? | Mac |
| Would you consider contributing a PR? | I would like to, but not sure if I have time to do it. |
Node.js version (node -v)? |
22.16.0 |
- Lingua principale
- TypeScript
- Stelle
- 6.5k
- Fork
- 708
- Merge medio
- 4g 13h
- PR unite (30g)
- 62
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/rushstack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di microsoft/rushstack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
bcgov/bc-wallet-mobile#4761 · 1 commento ·
-
external-issue to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100