Unmet peer dependencies with Redux 8
When trying to create a new app with redux v8 installed I get the following error:
npm ERR! Found: [email protected]
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 [email protected]
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
any updates regarding this matter?
@SamuelQuinones how did you resolve the issue?
@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
Please change version dependency of the react-redux:
"react-redux": ">=7.0.0" stead of "react-redux": "^7.1.0"
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)