question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unexpected `ERR_PNPM_OUTDATED_LOCKFILE` error

See original GitHub issue

https://vercel.com/jounqin/prettier/BH8R7dVznV3PbCuN9jnofJDYQ5Be

21:51:55.732 | Lockfile is up-to-date, resolution step is skipped
21:51:55.736 | ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up-to-date with packages/pkg/package.json

The first line says Lockfile is up-to-date, and then it just fails.

pnpm version: 7.6.0 and 7.7.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
JounQincommented, Sep 27, 2022

ENABLE_EXPERIMENTAL_COREPACK=1 environment setting on the Vercel project does the trick for me. So closing.

1reaction
styflecommented, Aug 8, 2022

Please try out corepack https://vercel.com/changelog/corepack-experimental-is-now-available

It lets you select your pnpm version which should solve this issue, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERR_PNPM_ERR_PNPM_UNE...
pnpm - ERR_PNPM_ERR_PNPM_UNEXPECTED_PKG_CONTENT_IN_STORE The lockfile is broken! A full installation will be performed in an attempt to fix it ...
Read more >
unexpected `ERR_PNPM_OUTDATED_LOCKFILE` error
It clearly says that PNPM will throw an error in the ci environment if if the lock-file is present and is not up-to-date....
Read more >
Healthy Lifestyle Score items - Menzies Institute for Medical Research
Problem Solver | Coder. sidharthv96 has 137 repositories available. Follow their code on GitHub. ... Seeing something unexpected?
Read more >
Fast, disk space efficient package manager - JsRepos
This problem can be solved with @pnpm/make-dedicated-lockfile (please confirm ... resolution step is skipped ERR_PNPM_OUTDATED_LOCKFILE Cannot install with ...
Read more >
Vercel Vercel Statistics & Issues - Codesti
Unexpected ERR_PNPM_OUTDATED_LOCKFILE error when deploying a Next.js example on Vercel, closed, 1, 2022-08-12, 2022-12-20, 2022-08-12.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found