Closed LuciKritZ closed 2 years ago
Try to install (The latest version is still not published that why you facing this problem)
npm i react-native-otp-verify-remastered
All of the following issues seem to be about the same problem - dependency on an old version of React-Native. PR#45 tried to fix the issue by updating the package.json
file. However, I think package-lock.json
needs to be updated as well.
Got an error while trying to install the package in react version 0.66.3. Full error log:
npm resolution error report
2022-03-27T17:43:16.252Z
While resolving: demo@1.0.0 Found: react-native@0.66.3 node_modules/react-native react-native@"0.66.3" from the root project
Could not resolve dependency: peer react-native@"^0.63.2" from react-native-otp-verify@1.0.4 node_modules/react-native-otp-verify react-native-otp-verify@"*" from the root project
Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object: