-
Notifications
You must be signed in to change notification settings - Fork 488
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
support for [email protected] #400
Comments
Same with [email protected]
|
I can see in the package.json file of this repository it supports React v18.x.x : Line 61 in f1faffd
But it seems that changes have not been published to the npm registry yet. Because until now the that I write this comment, the npm registry of this repo was updated 2 years ago the last time. |
I know it does not actually solve the underlying issue but as a workaround adding custom type resolution to your package.json seems to get rid of the error. for yarn
and for npm
|
I do already have |
ho, did you mean?:
Still got the error any way |
@KonkretneKosteczki Thank you for this great tip. @jeromelachaud The below change made the error to be gone:
Actually react and react-dom should be set not @types/react |
Awesome 🔥 |
@ameerthehacker Would it be possible to make a release to npm with this? Its been a hassle. |
Thanks @peZhmanParsaee 💪 |
It seems that the library does not support the react version 18.2.0
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@"^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" from [email protected]
npm ERR! node_modules/react-lazyload
npm ERR! react-lazyload@"*" from the root project
The text was updated successfully, but these errors were encountered: