v2 engine build dependency errors

Builds with zero errors in v1. Builds with zero errors locally using the same npm and node versions as v2 build engine.

In v2 prod:
npm ERR! ERESOLVE could not resolve
npm ERR! Could not resolve dependency (react versions)
npm ERR! Conflicting peer dependency (react versions again)

I asked Cloudflare support if there are plans to add npm flags so I could run npm i --force or npm i --legacy-peer-deps. They gave up and directed me here.
Was this page helpful?