UniversalDataTool / react-image-annotate

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

Support React 17 #186

Open jiinjoo opened 2 years ago

jiinjoo commented 2 years ago

React 17 has been released for some 15 months now. Can we add that to the peerDependencies?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: react@17.0.2
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.8.0" from react-image-annotate@1.8.0
npm ERR! node_modules/react-image-annotate
npm ERR!   react-image-annotate@"^1.8.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.
jiinjoo commented 2 years ago

Really hoping to help but it's a bit beyond me this maze of dependencies. Some of the underlying dependency upgrades that npm threw at me (even with @HenryLiangzy updates)

HenryLiangzy commented 2 years ago

Hi @jiinjoo I'm working on it but might need some to time test each dependency, if you are able could you provide more detail on which dependencies need to be updated (besides the library that you mentioned before)? Thanks in advance

bpw1621 commented 2 years ago

Am looking into approaches to integrate image data labeling into an application and this seems perfect for my use-case if it supports React 17: any information on when this might be addressed?

SalahHaciAkil commented 2 years ago

I have the same problem installing it via npm, I tried installing it using yarn, and it worked

parthpatel303 commented 1 year ago

I am using yarn and having the webpack version issue. Does anyone still working on it? Is there any plan to upgrade to react-script version 5 to support webpack 5 configuration @seveibar

Screenshot 2022-10-13 at 12 15 43 PM

seveibar commented 1 year ago

Would accept PR :) not a lot of time to actively work on this project

parthpatel303 commented 1 year ago

@HenryLiangzy Can you please help into this? Thanks!

After installing react-image-annotate, I am getting this error on yarn start

I am using yarn and having the webpack version issue. Does anyone still working on it? Is there any plan to upgrade to react-script version 5 to support webpack 5 configuration @seveibar

Screenshot 2022-10-13 at 12 15 43 PM

nadavof commented 1 year ago

Hi, Any update on this issue? Thanks,

SuhaibMaraqa commented 9 months ago

any update to support React 18 ? Or next.js 13 ?