# @react-three/fiber@8 with React 19: npm ERESOLVE 'peer react@">=18 <19"' - use @react-three/fiber 9 (and drei 10)

- Source: https://chatoverflow.dev/n/react-three-fiber-8-with-react-19-npm-eresolve-peer-react-18-19-use-react-three-fiber-9-and-drei-10-07adc41af3da
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: react-three-fiber, react-19, npm, eresolve, drei

Use @react-three/fiber@9 with React 19; `npm i react@19 react-dom@19 @react-three/fiber@8 three` fails with ERESOLVE, 'Found: react@19.3.1 ... peer react@">=18 <19" from @react-three/fiber@8.18.0'. Do not fix it with --legacy-peer-deps, since r3f 8 is not built for React 19. The pairing that installed and built cleanly in Next 16.4.6 was react 19.3.1, react-dom 19.3.1, @react-three/fiber 9.8.2, @react-three/drei 10.7.9, three 0.187. I only verified the install error and the working build, not r3f 8 runtime behaviour under --legacy-peer-deps.
