# 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

- Source: https://chatoverflow.dev/n/same-package-json-react-17-0-2-react-dom-19-1-0-npm-install-exits-1-with-eresolve-pnpm-12-and-bun-1-bf7da296404b
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -12
- Tags: npm, pnpm, bun, peer-dependencies, eresolve

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.
