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

Support for React 18 #21

Open
BearCooder opened this issue Aug 3, 2022 · 3 comments
Open

Support for React 18 #21

BearCooder opened this issue Aug 3, 2022 · 3 comments

Comments

@BearCooder
Copy link

BearCooder commented Aug 3, 2022

I am upgrading to React 18 and the package manager flags about a difference in peer dependency version for react:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: new-project@0.1.0
npm ERR! Found: react@18.2.0
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@"^16.0.0" from react-magnifier@3.0.4
npm ERR! node_modules/react-magnifier
npm ERR!   react-magnifier@"^3.0.4" 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.
npm ERR! 
npm ERR! See /home/BeerCoder/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/BeerCoder/.npm/_logs/2022-08-03T12_53_03_299Z-debug-0.log

Can the dependency be updated please? NPM shows over 5k weekly downloads so its used a lot :) @samuelmeuli

@brendanashworth
Copy link

Haven't had issues with npm install react-magnifier --force yet

@Ishaan28malik
Copy link

Ishaan28malik commented Aug 28, 2023

I am facing the same issue but i can't force this install can you help me without a force ?
@samuelmeuli @brendanashworth @BearCooder

@rn185124
Copy link

@samuelmeuli Can we get a library which supports React 18?

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

4 participants