lhandel / react-native-card-stack-swiper

Tinder like react-native card stack swiper
MIT License
420 stars 127 forks source link

The package not being install on latest expo cli. #99

Open Haseebshah936 opened 2 years ago

Haseebshah936 commented 2 years ago

I have tried installing it on sdk45 and 44 but it is not installing. It always through error while installing. npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: youni@1.0.0 npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"17.0.2" from the root project
npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.0.0-beta.5" from react-native-card-stack-swiper@1.2.5 npm ERR! node_modules/react-native-card-stack-swiper npm ERR! react-native-card-stack-swiper@"*" 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.

theMillenniumFalcon commented 1 year ago

does the same for react 18, deleted node_modules and package-lock.json file, ran yarn command and it works fine