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

React Dependency bug #37

Open
WalioHq opened this issue Jul 22, 2022 · 1 comment
Open

React Dependency bug #37

WalioHq opened this issue Jul 22, 2022 · 1 comment

Comments

@WalioHq
Copy link

WalioHq commented Jul 22, 2022

I am running [email protected] currently, but it seems this package has a dependency on an older version of react, so when installing it, it throws a dependency error. Please see the error below:

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.13.1" from [email protected]
npm ERR! node_modules/react-lightgallery
npm ERR!   react-lightgallery@"^0.9.0" 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.
@muhrifqii
Copy link

I think we should consider migrating into this one https://www.lightgalleryjs.com/docs/react/

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

2 participants