react-native-opencv3
react-native-opencv3 copied to clipboard
Installing react-native-opencv3 on latest react-native
Hi There, In attempt to install react-native-opencv3 on [email protected], I got the following error attached below.
As I don't know which react-native@ libraries are important to opencv3 plugin, I didn't want skip dependencies, running the command
npm install --save --legacy--peer-deps react-native-opencv3
Thus, is there an easy way to map such dependencies and fix them, in order to install react-native-opencv3 module properly?
i.e. using standard command line npm install --save react-native-opencv3
Error message is below
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react-native npm ERR! react-native@"0.67.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"0.59.5" from [email protected] npm ERR! node_modules/react-native-opencv3 npm ERR! react-native-opencv3@"*" 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! See /Users/iuri/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/iuri/.npm/_logs/2022-02-05T19_15_55_499Z-debug-0.log
Brcra, did you ever figure this out? I am having the same problem trying to install on [email protected]
Hi Adam, Yes, problem has been solved. Even though, I noticed it’s time we upgrade our openCV plugins to the latest RN core. Do you think it’d be worthwhile to work on those enhancements? I believe I can contribute. Best wishes, I
On 27 Jun 2022, at 13:39, Daniel Smith @.***> wrote:
Brcra, did you ever figure this out? I am having the same problem trying to install on @.***
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
@iuri I am just now seeing your reply. I tried to install it again just now and I am getting the same errors that I got before. If it has been solved do I need to do something special with my install call to get it to work correctly? Thanks!
@brcra0019 I used $ npm install --save react-native-opencv3 --force
and it works for me on newest react-native version.