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

NextJS support failed #218

Open
alamenai opened this issue Jun 9, 2023 · 1 comment
Open

NextJS support failed #218

alamenai opened this issue Jun 9, 2023 · 1 comment

Comments

@alamenai
Copy link

alamenai commented Jun 9, 2023

Reproduce the bug

  1. npm install react-image-annotate

Expected behavior

installed package

Current behavior

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@"18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from [email protected]
npm ERR! node_modules/react-image-annotate
npm ERR!   react-image-annotate@"*" 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! 
npm ERR! For a full report see:
npm ERR! /home/alaeddine/.npm/_logs/2023-06-09T02_16_17_618Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alaeddine/.npm/_logs/2023-06-09T02_16_17_618Z-debug-0.log
@Chinmay0905
Copy link

Did you used the command (npm install --legacy-peer-deps) ?

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