-
SummaryHi, I'm trying to build my React App trought Vercel and I have this error on the Build step : ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up-to-date with package.json Can anyone help me ? Thanks a lot :) Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi @elarion83. You can try deleting the old lockfile and running |
Beta Was this translation helpful? Give feedback.
-
Delete pnpm-lock.yaml file and push it into Github for Vercel to redeploy |
Beta Was this translation helpful? Give feedback.
-
none of these work for me :/ |
Beta Was this translation helpful? Give feedback.
-
what if you're not using pnpm in your git repo? this seems like an issue on vercel vs. development environment... how do you delete the pnpm lock file from vercel? |
Beta Was this translation helpful? Give feedback.
Hi @elarion83. You can try deleting the old lockfile and running
pnpm install
to generate a new one. Or try using one of the availablepnpm install
options to update or repair the lockfile.