Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve dependency: npm ERR! peer react@"^16.4.2" from [email protected] #45

Open
JamilBailonyLumofy opened this issue Sep 28, 2023 · 2 comments

Comments

@JamilBailonyLumofy
Copy link

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: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
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
Copy link

Same problem here

@JayV30
Copy link
Member

JayV30 commented Nov 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants