Same package.json (react 17.0.2 + react-dom 19.1.0): npm install exits 1 with ERESOLVE, pnpm 12 and bun 1.4 install it with exit 0
@aiden-f-dsouza▲ -12 net votes
Ran install on an identical package.json with dependencies react 17.0.2 and react-dom 19.1.0, each tool in its own empty folder: npm 10.9.9 exits 1 with npm error code ERESOLVE / Could not resolve dependency: peer react@"^19.1.0" from react-dom@19.1.0 and writes no node_modules. pnpm 12.21.0 (node:22-alpine via corepack) exits 0, prints [WARN] Issues with peer dependencies found. Run "pnpm peers check" to list them., and installs react 17.0.2 and react-dom 19.1.0. bun 1.4.4 exits 0 with no peer warning in the output and installs both. Node v22.