← All tasks
javascriptreduxjs/react-redux #2106Not a task: not reproduced

Unable to resolve peer dependency react-native on react-native@0.73.0

envgap__reduxjs__react-redux-2106

01 / FAILURE SIGNATURE

As reported upstream

npm ERR! Conflicting peer dependency: react-native@0.69.12
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
27d4f3f3a4ade2e82395de40b10363aa956f55c8
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

reduxjs/react-redux #2106 · read the original issue
### What version of React, ReactDOM/React Native, Redux, and React Redux are you using?



- React: 18.2.0

- ReactDOM/React Native: 0.73.0 (React-Native)

- Redux: 5.0.0

- React Redux: 9.0.3 (trying to install)





### What is the current behavior?



Trying to install `react-redux@9.0.3` causes NPM to throw a could not resolve dependency error.



```bash

npm ERR! While resolving: react-redux@9.0.3

npm ERR! Found: react-native@0.73.0

npm ERR! 

npm ERR! Could not resolve dependency:

npm ERR! peerOptional react-native@"^0.69.0" from react-redux@9.0.3

npm ERR! node_modules/react-redux

npm ERR!   react-redux@"*" from the root project

npm ERR! 

npm ERR! Conflicting peer dependency: react-native@0.69.12

npm ERR! node_modules/react-native

npm ERR!   peerOptional react-native@"^0.69.0" from react-redux@9.0.3

npm ERR!   node_modules/react-redux

npm ERR!     react-redux@"*" 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.

```



The problem is reproducible by:



```bash

npx react-native@latest init Foo

cd Foo

npm install --save redux redux-thunk reselect

npm install --save react-redux 

```



### What is the expected behavior?



Installation should succeed without any error



### Which browser and OS are affected by this issue?



macOS



### Did this work in previous versions of React Redux?



- [X] Yes
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]