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

Version 1.3.4 has dependency on react 17 #15

Open
ericwhitlock opened this issue Jun 1, 2024 · 1 comment
Open

Version 1.3.4 has dependency on react 17 #15

ericwhitlock opened this issue Jun 1, 2024 · 1 comment

Comments

@ericwhitlock
Copy link

Hi Jose. Great library. Thanks for your efforts on it.

I am running react 18.2.0 and saw that version 1.3.4 of your library shows "Ready to React 18" at https://www.npmjs.com/package/react-image-picker-editor
but after running npm i I ran into the following error:

Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from react-image-picker-editor@1.3.4
npm ERR! node_modules/react-image-picker-editor
npm ERR!   react-image-picker-editor@"^1.3.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR!   peer react@"^17.0.2" from react-image-picker-editor@1.3.4
npm ERR!   node_modules/react-image-picker-editor
npm ERR!     react-image-picker-editor@"^1.3.4" from the root project

Is this due to your package.json below or am I doing something wrong?

"peerDependencies": {
"react": "^17.0.2"
},

@josealejandro2928
Copy link
Owner

josealejandro2928 commented Jun 1, 2024 via email

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