In my MonoRepo when deploying Docs Vercel was detecting PNPM and everything was working fine. After this commit it's detecting NPM
and the deployment fails!
Build Logs:
01:57:54.540 Running build in Washington, D.C., USA (East) – iad101:57:54.541 Build machine configuration: 2 cores, 8 GB01:57:54.690 Cloning github.com/babakfp/mdx-svelte (Branch: main, Commit: 9ab4c6a)01:57:54.897 Cloning completed: 207.000ms01:57:56.008 Skipping build cache since Package Manager changed from "pnpm" to "npm"01:57:56.409 Running "vercel build"01:57:56.425 Vercel CLI 54.17.201:57:57.265 Error while parsing config file: "/vercel/path0/pnpm-lock.yaml"01:57:57.303 Error while parsing config file: "/vercel/path0/pnpm-lock.yaml"01:57:57.305 Installing dependencies...01:57:58.902 npm error code EUNSUPPORTEDPROTOCOL01:57:58.903 npm error Unsupported URL Type "workspace:": workspace:*01:57:58.904 npm error A complete log of this run can be found in: /vercel/.npm/_logs/2026-06-25T22_27_57_433Z-debug-0.log01:57:58.934 Error: Command "npm install" exited with 1./pnpm-workspace.yaml:
packages: - "docs" - "package"./package.json:
{ "type": "module", "packageManager": "pnpm@11.9.0"}./docs/package.json:
// ... "type": "module", "packageManager": "pnpm@11.9.0"}