[lockfile-explorer] Current version (2.0.7) does not work with my Rush repo with pnpm 8.15.7
@octogonz đang làm issue này rồi.
Từ ngày 3/12/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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 |
- Ngôn ngữ chính
- TypeScript
- Star
- 6.5k
- Fork
- 708
- Merge trung bình
- 4 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 62
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/rushstack
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của microsoft/rushstack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
receptron/mulmoterminal#2264 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
components-web-app/docs#96 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
simonsobs/tileviewer#114 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100