useWorker icon indicating copy to clipboard operation
useWorker copied to clipboard

Compatability Issue with [email protected]

Open reese1515 opened this issue 2 years ago • 7 comments

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: [email protected] npm ERR! Found: [email protected] 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/[email protected] 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 avatar May 20 '22 14:05 reese1515

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

empawlo avatar Jun 07 '22 11:06 empawlo

Any update on compatibility with new react versions?

nrgapple avatar Nov 29 '22 18:11 nrgapple

I will fix this in the next release, thanks

alewin avatar Dec 11 '22 13:12 alewin

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

tmaihoff avatar Mar 09 '23 23:03 tmaihoff

Me too

agboola-osho avatar Mar 16 '23 10:03 agboola-osho

I will fix this in the next release, thanks

Is it now fixed

agboola-osho avatar Mar 16 '23 10:03 agboola-osho

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

dhwang avatar Feb 22 '24 00:02 dhwang