Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaiyoma opened this issue Feb 4, 2025 · 4 comments
Open

Comments

@kaiyoma
Copy link

kaiyoma commented Feb 4, 2025

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
@iclanton
Copy link
Member

iclanton commented Feb 5, 2025

@fzxen, @L-Qun - can you take a look at this?

CC @octogonz

@iclanton iclanton moved this from Needs triage to Needs Investigation in Bug Triage Feb 5, 2025
@fzxen
Copy link
Contributor

fzxen commented Feb 18, 2025

Some work is needed to support pnpm v9 in @rushstack/lockfile-explorer. I will take a look this weekend.

@kaiyoma
Copy link
Author

kaiyoma commented Feb 18, 2025

@fzxen FYI pnpm is now up to version 10. 😄

@fzxen
Copy link
Contributor

fzxen commented Feb 20, 2025

@fzxen FYI pnpm is now up to version 10. 😄

Pnpmv10 did not upgrade the lockfile version, still using lockfileV9. This may mean it will be easier to upgrade from pnpmvV9 to pnpmV10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Investigation
Development

No branches or pull requests

3 participants