loktar00/react-lazy-load

NPM Installation Error in React@17+

Closed this issue · 5 comments

I've got this error while installing the package and it says:

Could not resolve dependency:
npm ERR! peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0" from react-lazy-load@3.1.13
npm ERR! node_modules/react-lazy-load
npm ERR! react-lazy-load@"*" 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.

I'm getting the same, be interested to know the outcome

Baspa commented

I got the same error. I am on react version ^17.0.2

Bump, I guess I wont be using this library either lol :/

See #146

It looks like this library is no longer being maintained

Should be good to go now, merged the commit, also got rid of a previous error as well. Newest vs is 3.1.14