Next.js Discord

Discord Forum

unable to build pnpm@10 on vercel?

Unanswered
Naeemgg posted this in #help-forum
Open in Discord
the code is working just fine locally but after pushing it, its giving this error(see attached image), what to do now?

1 Reply

as described on the error message you need to enable corepack if you want to use pnpm 10: https://vercel.com/docs/builds/configure-a-build#corepack