shaqian / tflite-react-native

React Native library for TensorFlow Lite
https://www.npmjs.com/package/tflite-react-native
MIT License
289 stars 108 forks source link

getting a dependency conflict when installing tflite-react-native #37

Open mawrukh opened 1 year ago

mawrukh commented 1 year ago

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: tflite-react-native@0.0.5 npm ERR! Found: react-native@0.71.8 npm ERR! node_modules/react-native npm ERR! react-native@"0.71.8" from the root project npm ERR! peer react-native@"*" from @react-native-community/geolocation@3.0.6 npm ERR! node_modules/@react-native-community/geolocation npm ERR! @react-native-community/geolocation@"^3.0.6" from the root project npm ERR! 13 more (@react-native-community/masked-view, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.41.2" from tflite-react-native@0.0.5 npm ERR! node_modules/tflite-react-native npm ERR! tflite-react-native@"^0.0.5" from the root project npm ERR! npm ERR! Conflicting peer dependency: react-native@0.41.2 npm ERR! node_modules/react-native npm ERR! peer react-native@"^0.41.2" from tflite-react-native@0.0.5 npm ERR! node_modules/tflite-react-native npm ERR! tflite-react-native@"^0.0.5" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\PC\AppData\Local\