Edit: Ok weird, in another project it seems to work just fine
Edit 2: Found the issue: It’s a monorepo that had a sub-package that defined a pnpm@10 version. The error message picked up the root package.json hence my confusion.
Error message
Are you sure? This is what I see:
> Detected ENABLE_EXPERIMENTAL_COREPACK=1 and "pnpm@11.6.0" in package.json
Running "install" command: `pnpm install`...
! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.10.0.tgz
ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)
Your pnpm version is incompatible with "/vercel/path0".
Expected version: >=11
Got: 10.10.0