Skip to content

Package dependency issue with react-three-fiber example #690

Description

@bstrackany

Maybe just needs the latest react-three-fiber?

Creating test-three using the with-react-three-fiber example.

✔ Downloaded and extracted example files.
> npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: test-three@1.0.0
npm error Found: react@19.2.3
npm error node_modules/react
npm error   react@"19.2.3" from the root project
npm error   peer react@"*" from expo@56.0.8
npm error   node_modules/expo
npm error     expo@"^56.0.4" from the root project
npm error     peerOptional expo@">=43.0" from @react-three/fiber@8.18.0
npm error     node_modules/@react-three/fiber
npm error       @react-three/fiber@"^8.3.1" from the root project
npm error     4 more (@expo/metro-runtime, expo-asset, expo-file-system, expo-gl)
npm error   10 more (@expo/metro-runtime, react-dom, react-native, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@">=18 <19" from @react-three/fiber@8.18.0
npm error node_modules/@react-three/fiber
npm error   @react-three/fiber@"^8.3.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/me/.npm/_logs/2026-06-02T15_27_36_575Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/me/.npm/_logs/2026-06-02T15_27_36_575Z-debug-0.log
Something went wrong installing JavaScript dependencies. Check your npm logs. Continuing to create the app.
Error: npm install exited with non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions