argent-x icon indicating copy to clipboard operation
argent-x copied to clipboard

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE

Open eliotstock opened this issue 1 year ago • 1 comments

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?

eliotstock avatar Jun 03 '24 04:06 eliotstock

I have worked this around by installing [email protected]

saper avatar Jun 20 '24 15:06 saper