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

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE #2137

Open
eliotstock opened this issue Jun 3, 2024 · 1 comment
Open

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE #2137

eliotstock opened this issue Jun 3, 2024 · 1 comment

Comments

@eliotstock
Copy link

Do you guys depend on a given version of pnpm?

Here's what I get when I run pnpm run setup:

> [email protected] setup /Users/e/r/nm/argent-x
> pnpm install --frozen-lockfile && pnpm allow-scripts && husky install && patch-package && pnpm run -r --stream setup

Scope: all 10 workspace projects
 ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the version of the lockfile is incompatible with this version of pnpm

Try either:
1. Aligning the version of pnpm that generated the lockfile with the version that installs from it, or
2. Migrating the lockfile so that it is compatible with the newer version of pnpm, or
3. Using "pnpm install --no-frozen-lockfile".
Note that in CI environments, this setting is enabled by default.
 ELIFECYCLE  Command failed with exit code 1.
 WARN   Local package.json exists, but node_modules missing, did you mean to install?
@saper
Copy link

saper commented Jun 20, 2024

I have worked this around by installing [email protected]

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

No branches or pull requests

2 participants