jstejada / react-typist

Typing animations with React
https://jstejada.github.io/react-typist/
Other
1.4k stars 124 forks source link

unable to resolve dependency tree #118

Open alivarastepour opened 2 years ago

alivarastepour commented 2 years ago

I was trying to add react-typist to my project with the following command:

npm install react-typist --save

but I got the following error:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: lms@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@"^0.14 || ^15.0 || ^16.0" from react-typist@2.0.5 npm ERR! node_modules/react-typist npm ERR! react-typist@"*" 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.

I was wondering what could be possibly wrong about it.

realByg commented 2 years ago

you should have checked out the other issues first https://github.com/jstejada/react-typist/issues/99#issuecomment-847978006