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

Compatability Issue with react@17.0.2 #123

Open
reese1515 opened this issue May 20, 2022 · 7 comments
Open

Compatability Issue with react@17.0.2 #123

reese1515 opened this issue May 20, 2022 · 7 comments
Labels
question Further information is requested

Comments

@reese1515
Copy link

reese1515 commented May 20, 2022

I'm using react ^17.0.2 and when I attempted to do the install i'm getting the following error
$ npm install --save @koale/useworker
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: client-app@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from @koale/useworker@4.0.2
npm ERR! node_modules/@koale/useworker
npm ERR! @koale/useworker@"*" 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.

Is this meant to work with react version 17+ or would I need to go back to version 16?

@reese1515 reese1515 added the question Further information is requested label May 20, 2022
@empawlo
Copy link

empawlo commented Jun 7, 2022

Ran into the same error, please help. In addition, it would be ideal to also support React 18.

@nrgapple
Copy link

Any update on compatibility with new react versions?

@alewin
Copy link
Owner

alewin commented Dec 11, 2022

I will fix this in the next release, thanks

@tmaihoff
Copy link

tmaihoff commented Mar 9, 2023

@alewin do you have an estimate ? Getting the same ERR with "react": "18.2.0",

@agboola-osho
Copy link

Me too

@agboola-osho
Copy link

I will fix this in the next release, thanks

Is it now fixed

@dhwang
Copy link

dhwang commented Feb 22, 2024

Over a year now @alewin , please? There's a 5.0.0 version out there because of the 16.8.0 peer dependency

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

No branches or pull requests

7 participants