uploading on vercel
Closed this issue · 2 comments
ejemi1989 commented
I encountered the problem of "ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json"
anand-mukul commented
Follow these steps : @ejemi1989
-
Update
pnpm
:
Make sure you have the latestpnpm
version installed globally.pnpm install -g pnpm@latest
-
Delete Files:
Remove the existingpnpm-lock.yaml
file and thenode_modules
folder.rm pnpm-lock.yaml rm -rf node_modules
-
Install Packages Again:
pnpm install
This will generate a new lockfile and install packages.
For other code related issues you can check Here 👍
joschan21 commented
Thanks for helping! :)