question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid React peer dependency - react-router-redux and React 16

See original GitHub issue

After 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:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
timdorrcommented, Sep 27, 2017

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.

0reactions
webmobilescommented, Oct 6, 2017

thanks, i hope not be important 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found