S4-NetQuest / react-scorm-provider

Components to easily enable SCORM API communication in React projects.
MIT License
61 stars 19 forks source link

Could not resolve dependency: npm ERR! peer react@"^16.4.2" from react-scorm-provider@0.2.4 #45

Open JamilBailonyLumofy opened 10 months ago

JamilBailonyLumofy commented 10 months ago

Hi, while I am installing this library, I faced this error from npm:

npm install react-scorm-provider           
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: lumofy-lxp@1.0.0
npm ERR! Found: react@18.2.0
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.4.2" from react-scorm-provider@0.2.4
npm ERR! node_modules/react-scorm-provider
npm ERR!   react-scorm-provider@"*" 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.

Can you upgrade the library to React 18 please?

pericleschrstn commented 8 months ago

Same problem here

JayV30 commented 8 months ago

I really apologize, this project is basically abandoned at this point until I can find time to update it.

I'm overwhelmed right now so I don't know what that will be. I truly apologize.

In the meantime, you might try it with --legacy-peer-deps