Pages build failing

My pages app building is failing. I’m able to build locally using “npx @cloudflare/next-on-pages@1” and it succeeds.

Even old git commit that is currently deployed it failing to build

Are you still encountering this?

Yes, I still am getting the same error

I am also getting same error
https://dash.cloudflare.com/dd58a62db8fbfab42f04dbf825c69f1a/pages/view/platform

@cloonan do you think anything can help us?

Hi, I was able to solve my error by adding my package manager to package.json like this

"packageManager": "[email protected]"
1 Like

This seems to have fixed it for us using pnpm (i.e. "packageManager": "[email protected]"). Thanks!