rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[lockfile-explorer] Error: The current lockfile version is not supported

Open kaiyoma opened this issue 9 months ago • 5 comments

Summary

Lockfile explorer crashes on startup.

Repro steps

Just install and run, as per the instructions.

Details

Rush Lockfile Explorer 1.7.16 - https://lfx.rushstack.io/

Found a Rush workspace:  C:\Users\kgetz\Work\event-viewer\rush.json
App launched on http://localhost:8091
C:\Users\kgetz\AppData\Roaming\nvm\v20.11.1\node_modules\@rushstack\lockfile-explorer\lib\utils\shrinkwrap.js:65
        throw new Error('The current lockfile version is not supported.');
              ^

Error: The current lockfile version is not supported.
    at getShrinkwrapFileMajorVersion (C:\Users\kgetz\AppData\Roaming\nvm\v20.11.1\node_modules\@rushstack\lockfile-explorer\lib\utils\shrinkwrap.js:65:15)
    at C:\Users\kgetz\AppData\Roaming\nvm\v20.11.1\node_modules\@rushstack\lockfile-explorer\lib\cli\explorer\ExplorerCommandLineParser.js:109:95

Node.js v20.11.1

Our Rush monorepo lockfile is version 9.0 (pnpm 9.14.3).

Standard questions

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

Question Answer
@rushstack/lockfile-explorer version? 1.7.16
Operating system? Windows 11
Would you consider contributing a PR? No
Node.js version (node -v)? 20.11.1

kaiyoma avatar Feb 04 '25 19:02 kaiyoma