faizalshap / react-native-otp-verify

React native sms verification without additional permissions
MIT License
241 stars 95 forks source link

Not able to install this library using npm #44

Closed aparnagude396 closed 2 years ago

aparnagude396 commented 2 years ago

I'm getting this error. I'm using react native version 0.64.1. Can anyone pls look into this issue. npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: OTG@0.0.1 npm ERR! Found: react-native@0.64.1 npm ERR! node_modules/react-native npm ERR! react-native@"0.64.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.63.2" from react-native-otp-verify@1.0.4 npm ERR! node_modules/react-native-otp-verify npm ERR! react-native-otp-verify@"*" from the root project.

pushpender-singh-ap commented 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
Bilal-Abdeen commented 2 years ago

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.

41, #45 , #56 , #44, #50, #54, #55, #56.