-
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: 6 comments 11 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.
-
None of this worked for me, 😎 fortunately I resolved it in the initial configuration before deploying to Vercel, I set the installation code to "npm install", usually this parameter comes by default "pnpm install" but there is an option to adjust it. |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
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.