react-native-keyboard-avoider icon indicating copy to clipboard operation
react-native-keyboard-avoider copied to clipboard

Add support for React 18.*

Open RodolfoSilva opened this issue 2 years ago • 3 comments

Hey @iway1 thanks for this package.

Do you have plan to add support for react 18? RIght now the NPM is complaining about the version required by the package.

➜  mobile git:(main) npm i @good-react-native/keyboard-avoider
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
npm ERR!   react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @good-react-native/[email protected]
npm ERR! node_modules/@good-react-native/keyboard-avoider
npm ERR!   @good-react-native/keyboard-avoider@"*" 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.

Note: I know i can just use the flag to force the installations, but this not sounds right.

RodolfoSilva avatar May 27 '23 12:05 RodolfoSilva