[lockfile-explorer] Current version (2.0.7) does not work with my Rush repo with pnpm 8.15.7
@octogonz y travaille déjà.
Depuis le 3/12/2025.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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 |
- Langage dominant
- TypeScript
- Étoiles
- 6.5k
- Forks
- 708
- Merge moyen
- 4 j 13 h
- PR mergées (30 j)
- 62
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoft/rushstack
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
Toutes les issues de microsoft/rushstack
Issues similaires
-
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD Ouvertecheck:passed streams:add
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Improvement for contact popover Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
LiteLLM proxy response_cost (x-litellm-response-cost) is never applied to ChatModelOutput.cost Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
i-am-bee/beeai-framework#1697 · 1 réaction ·
-
Support bun dedupe Ouverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
antfu/node-modules-inspector#214 ·