Invalid React peer dependency - react-router-redux and React 16
See original GitHub issueAfter updating to React 16 - installing react-router-redux@5.0.0-alpha.6 warns about invalid peer dependency.
npm install --save react-router-redux@next
npm WARN saveError Problems were encountered
npm WARN saveError Please correct and try again.
npm WARN saveError peer invalid: react@^15, required by react-router-redux@5.0.0-alpha.6
The peerDependencies declaration in package.json seems to be the issue.
"peerDependencies": {
"react": "^15"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Invalid React peer dependency - react-router-redux ... - GitHub
After updating to React 16 - installing react-router-redux@5.0.0-alpha.6 warns about invalid peer dependency. npm install --save ...
Read more >Could not resolve dependency error peer react@"^16.8.0
this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. // package.json
Read more >could not resolve dependency peer react@ ^16.0.0 - You.com
The project has a peer dependency on React 15 or 16 and you are using 17.0.2 - The npm error states the reason....
Read more >Cannot Upgrade SDK - Web - Zoom Developer Forum
Description We have using react version 16.13.1, zoom sdk requires ... Could not resolve dependency: npm ERR! peer react@"16.8.6" from ...
Read more >Upgrade React-Bootstrap from 0.31.0 to 0.32.4 ( UNMET ...
Coding example for the question Upgrade React-Bootstrap from 0.31.0 to 0.32.4 ( UNMET PEER DEPENDENCY )-Reactjs.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s fixed on master, but hasn’t been published yet. There are a few more things to get in there, but I’ll try to publish an update soon.
thanks, i hope not be important 😉