react-custom-roulette icon indicating copy to clipboard operation
react-custom-roulette copied to clipboard

Incompatibility with ReactJS 18.x.x

Open JosePascual opened this issue 2 years ago • 3 comments

When I proceeded to install react-custom-roulette in a React 18.0.1 project it gave me incompatibility.

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.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/react-custom-roulette
npm ERR!   react-custom-roulette@"*" 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.

JosePascual avatar May 08 '22 21:05 JosePascual

I had the same issue. Use --force when installing with npm

wilhelmuggla avatar May 30 '22 06:05 wilhelmuggla

I'm interested in that too! Not sure how great it is to use --legacy-peer-deps or --force.

s-gbz avatar Aug 12 '22 17:08 s-gbz

It works but the app build is too slow and bundle is too large due to inclusion of react 16 just for the sake of the lib

nash90 avatar Sep 10 '22 04:09 nash90

Roulette now support React 18.x.x thank you for your comments

Acarvajal904 avatar Apr 05 '23 18:04 Acarvajal904