UniversalDataTool / react-image-annotate

Create image annotations. Classify, tag images with polygons, bounding boxes or points.
MIT License
405 stars 177 forks source link

NextJS support failed #218

Open alamenai opened 1 year ago

alamenai commented 1 year ago

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: next-app@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.8.0" from react-image-annotate@1.8.0
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 commented 1 year ago

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