react-native-otp-textinput
react-native-otp-textinput copied to clipboard
incorrect peer dependency
warning : [email protected]" has incorrect peer dependency "react-native@^0.72.4". this happen when using newer version of react-native
react-native : "0.73.3"
+1
+1
+1
+1 . Please do something.
Did any fix this issue? Temporary we can ignore this error by using the force command @naveenvignesh5
Yeah I fixed mine by editting the version to match the required version in package-lock.json
@Reotech, It would be appreciated if you share the compatible version
Okay
"node_modules/react-native-otp-textinput": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/react-native-otp-textinput/-/react-native-otp-textinput-1.1.5.tgz", "dependencies": { "react": "^18.2.0" }, "peerDependencies": { "react-native": "^0.73.4" } } so this is an example of mine, note the react-native version . Make sure the version of react-native in the peerDependencies matches the react-native version of your project
Thank you @Reotech it worked. Basically, the react native version was not matching in peer dependency so I matched it and then it worked
Great! You're welcome @IsmailJanParacha