giacomocerquone / react-perspective-cropper

React component performing border detection, perspective correction and simple image filters over a provided image 📲 📸
MIT License
44 stars 21 forks source link

React version too old #20

Open zheruixS2023 opened 1 year ago

zheruixS2023 commented 1 year ago

When I tried to install this library, an error was raised because the react version was not compatible. Can you update the react version, please?

npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from react-perspective-cropper@0.2.2
npm ERR! node_modules/react-perspective-cropper
npm ERR!   react-perspective-cropper@"*" from the root project
giacomocerquone commented 1 year ago

there shouldn't be many issues with that! This component shouldn't use much inner React apis