AaronCCWong / react-card-flip

React component for card flipping animation.
https://aaronccwong.github.io/react-card-flip
MIT License
337 stars 64 forks source link

Dependency issues #114

Open theoldcounty opened 1 year ago

theoldcounty commented 1 year ago

getting errors trying to do an npm install

npm i react-card-flip npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: rom-app@0.1.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@"^18.2.0" from react-card-flip@1.2.0 npm ERR! node_modules/react-card-flip npm ERR! react-card-flip@"*" from the root project

AaronCCWong commented 1 year ago

It looks like your project uses react 17. This package expects react 18+.

Xavius123 commented 10 months ago

Is there a version that works with React 17.0.2?

AaronCCWong commented 10 months ago

Try anything before v1.1.6