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

Unmet peer dependencies with Redux 8 #48

Open
SamuelQuinones opened this issue Dec 14, 2022 · 5 comments
Open

Unmet peer dependencies with Redux 8 #48

SamuelQuinones opened this issue Dec 14, 2022 · 5 comments

Comments

@SamuelQuinones
Copy link

When trying to create a new app with redux v8 installed I get the following error:

npm ERR! Found: react-redux@8.0.4
npm ERR! node_modules/react-redux
npm ERR!   react-redux@"8.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-redux@"^7.1.0" from redux-injectors@2.1.0
npm ERR! node_modules/redux-injectors
npm ERR!   redux-injectors@"2.1.0" from the root project

I'm wondering if this is tangentially related to #34 - If I use --force or --legacy-peer-deps the install does finish, and the app does run and work without issue.

I think this could easily be fixed by adding redux 8 as a peer dep, but i know v7 to v8 is a major version bump

@bouncydragon
Copy link

any updates regarding this matter?

@siarheipashkevich
Copy link

@SamuelQuinones how did you resolve the issue?

@SamuelQuinones
Copy link
Author

@siarheipashkevich I didn't really resolve it, as i mentioned i get around it be using --force or --legacy-peer-deps and the install finishes

@nixjs
Copy link

nixjs commented Apr 16, 2023

Please change version dependency of the react-redux:
"react-redux": ">=7.0.0" stead of "react-redux": "^7.1.0"

@nixjs
Copy link

nixjs commented Apr 16, 2023

Everyone can temporarily use my package before the owner of the redux injector updates the new version.
https://github.com/nixjs/redux-injectors-react
yarn add @nixjs23n6/redux-injectors # (or yarn add redux-injectors)

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

4 participants