Skip to content

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the lockfile needs updates #6307

@XiaoBaiClassmate

Description

@XiaoBaiClassmate

pnpm version:8.0.0

Code to reproduce the issue:pnpm install

Expected behavior:Work as usual

Actual behavior: 

ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the lockfile needs updates
Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"

Additional information:

  • node -v prints:18.12.1
  • Windows, macOS, or Linux?:Windows

Upgrading from 7.30.5 to 8.0.0 causes an error, and the fallback version works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions