expo / examples

Example projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
2.23k stars 867 forks source link

with-three error: unable to resolve dependency tree #362

Open obasille opened 2 years ago

obasille commented 2 years ago

Describe the bug When running the following command: npx create-react-native-app -t with-three

I get this error:

Something when wrong installing JavaScript dependencies.

To Reproduce Steps to reproduce the behavior:

  1. Run npx create-react-native-app -t with-three
  2. See error above

Expected behavior No error.

Desktop (please complete the following information):

Additional context From the logs

verbose node v16.14.0
verbose npm  v8.5.1
error code ERESOLVE
error ERESOLVE unable to resolve dependency tree
error
error While resolving: threejs@1.0.0
error Found: three@0.122.0
error node_modules/three
error   three@"^0.122.0" from the root project
error
error Could not resolve dependency:
error peer three@"^0.127.0" from expo-three@5.7.0
error node_modules/expo-three
error   expo-three@"~5.7.0" from the root project
xcoderreal commented 2 years ago

seeing the same, couldn't find a way out to start a react native project with three with expo