Open areebPakWheels opened 1 year ago
Same problem here. Tried to install the lib today with NPM in my React project, but got this error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: backoffice@0.1.0 npm ERR! Found: react@18.3.1 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.2.0" from react-star-rating-component@1.4.1 npm ERR! node_modules/react-star-rating-component npm ERR! react-star-rating-component@"*" 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.
Currently, I have created a new next js project with the latest configuration but I am unable to install this library