argentlabs / argent-x

ArgentX browser extension for StarkNet - made with ❤️ by Argent
https://github.com/argentlabs/argent-x
Other
621 stars 273 forks source link

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE #2137

Open eliotstock opened 1 month ago

eliotstock commented 1 month ago

Do you guys depend on a given version of pnpm?

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

> argent-x@0.1.0 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 commented 2 weeks ago

I have worked this around by installing pnpm@8.6.0