expo / expo-three

Utilities for using THREE.js on Expo
MIT License
750 stars 92 forks source link

ERESOLVE unable to resolve dependency tree #213

Open george-mix opened 3 years ago

george-mix commented 3 years ago

Hello, i'm having trouble with this dependency conflict.

ERR! Found: expo-file-system@11.0.2
ERR! node_modules/expo-file-system
ERR!   expo-file-system@"~11.0.2" from the root project
ERR!   peer expo-file-system@"*" from expo-asset-utils@2.0.0
ERR!   node_modules/expo-asset-utils
ERR!     expo-asset-utils@"~2.0.0" from expo-three@5.7.0
ERR!     node_modules/expo-three
ERR!       expo-three@"^5.7.0" from the root project
ERR!   2 more (expo-three, expo)
ERR! 
ERR! Could not resolve dependency:
ERR! peer expo-file-system@"^5.0.1" from @expo/browser-polyfill@0.1.1
ERR! node_modules/@expo/browser-polyfill
ERR!   @expo/browser-polyfill@"^0.1.1" from expo-three@5.7.0
ERR!   node_modules/expo-three
ERR!     expo-three@"^5.7.0" from the root project

I have tried to change version of expo-file-system from ~11.0.2 to "^5.0.1" and message goes away, but my mobile client doesn't want to work with this old version.

Some dependencies are incompatible with the installed expo package version:
 - expo-file-system - expected version range: ~11.0.2 - actual version installed: ^5.0.1
Your project may not work correctly until you install the correct versions of the packages.
prav-98 commented 3 years ago

@george-mix @purposeZhangxiang Do you know any sample codes to detect a 3D model using expo three