Compatibility with react 18
GripenANM opened this issue · comments
Is it possible to update this to support react 18?
same err with me
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: website-homepage@0.0.0
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR! react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from react-locomotive-scroll@0.2.0
It is not Compatible with react 18. Update ASAP please
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: test@0.1.0 npm ERR! Found: react@18.1.0 npm ERR! node_modules/react npm ERR! react@"^18.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.2" from react-locomotive-scroll@0.2.0 npm ERR! node_modules/react-locomotive-scroll npm ERR! react-locomotive-scroll@"*" 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.
try:
npm i react-locomotive-scroll --legacy-peer-deps
Hi @faha1999 I update this repo when I have free time for it. If you want something ASAP fork the project and do it yourself.