Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[lockfile-explorer] Current version (2.0.7) does not work with my Rush repo with pnpm 8.15.7

Open
#5,481 6 comments 0 reactions 1 assignee View on GitHub

@octogonz is already working on this.

Since Dec 3, 2025.

Assessment

This issue has not been assessed yet.

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/prosemirror-tables@1.1.3"
    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
Dominant language
TypeScript
Stars
6.5k
Forks
708
Avg merge
4d 13h
Merged PRs (30d)
62

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/rushstack

All issues in microsoft/rushstack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.