tttstudios / react-native-otp-input

Tiny Javascript library which provides an elegant UI for user to input one time passcode.
MIT License
528 stars 239 forks source link

Unable to install Clipboard package #129

Open prasad456 opened 3 years ago

prasad456 commented 3 years ago

While install dependency of this npm module not installing and throwing this issue. This is error was throwing on android only

cti1050@CAS-VTZ-MAC-02 MAP-CLIENT-APP % npm install --save @react-native-community/clipboard
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: AdoptiveParent@0.0.1 npm ERR! Found: react@16.13.1 npm ERR! node_modules/react npm ERR! react@"16.13.1" from the root project npm ERR! peer react@">=16.0" from @react-native-community/clipboard@1.5.1 npm ERR! node_modules/@react-native-community/clipboard npm ERR! @react-native-community/clipboard@"" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"17.0.1" from react-native@0.64.0 npm ERR! node_modules/react-native npm ERR! react-native@"^0.64.0" from the root project npm ERR! peer react-native@">=0.57.0" from @react-native-community/clipboard@1.5.1 npm ERR! node_modules/@react-native-community/clipboard npm ERR! @react-native-community/clipboard@"" 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/cti1050/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/cti1050/.npm/_logs/2021-05-03T16_00_34_446Z-debug.log