Cloudflare Pages + TurboRepo + PNPM

I have deployed one of my apps successfully to Vercel (so I know nothing wrong with my apps)
I want to deploy on Cloudflare Pages, I get this Error: npm ERR! code EUNSUPPORTEDPROTOCOL. Which makes a lot of sense. as I specified in the root
package.json
as pnpm to be my packageManager.

Even though I set my build command correctly. Cloudflare Pages still always runs Installing project dependencies: npm install --progress=false, before my actual build command. So it fails, as I restricted it to only allow pnpm.

Why does Cloudflare pages assumes npm by default? Doesn't seem a way to disable it...

I am on Build System Version: 2
Was this page helpful?