Vercel Deploy error due to pnpm 10.4

Hello!

It sounds like your project is using pnpm@10 in Vercel CI while you are using pnpm@9 locally? If so, this problem is not actually caused by pnpm@10. This will also happen with pnpm@9 in Vercel CI due to pnpm’s frozen lockfile feature which is enabled in CI environments.

To fix this error, update your lockfile with pnpm i.

If you want to match your local environment and use pnpm@9 instead of pnpm@10 for this project, you can enable Corepack.

Hope this helps, and happy to answer any follow up questions!

2 Likes