Skip to content

pnpm@7.7.1 - pnpm generates different lockfile locally and on CI  #5124

@dangreen

Description

@dangreen

pnpm version:

7.7.0
7.7.1

Code to reproduce the issue:

https://github.com/gionkunz/chartist-js

Expected behavior:

successful dependencies installation

Actual behavior:

Lockfile is up-to-date, resolution step is skipped
 ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up-to-date with package.json

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:

v7.5.0 works perfect

v7.7.1 installed local and on CI, locally lockfile was updated and pushed, but on CI it still shows that lockfile is not up-to-date with package.json.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions