UNEPT PEER DEPENDENCY react-router@3.0.0

I had an error after installing "response-bootstrap-table".

├── react@15.4.1 
└── UNMET PEER DEPENDENCY react-router@3.0.0

My package.json

"dependencies": {
    "isomorphic-fetch": "^2.2.1",
    "react": "^15.4.0",
    "react-addons-linked-state-mixin": "^15.4.0",
    "react-bootstrap": "^0.30.6",
    "react-bootstrap-table": "^2.6.0",
    "react-cookie": "^0.4.8",
    "react-dom": "^15.4.0",
    "react-redux": "^4.4.6",
    "react-router": "^3.0.0",
    "react-router-apply-middleware": "0.0.2",
    "react-router-bootstrap": "^0.23.1",
    "react-router-relative-links": "^0.1.0",
    "redux": "^3.6.0",
    "redux-logger": "^2.7.4",
    "redux-promise-middleware": "^4.1.0",
    "redux-thunk": "^2.1.0"
  }

Thanks for the help.

+4
source share
1 answer

This blog post explains how well depends on you.
https://nodejs.org/en/blog/npm/peer-dependencies/

There's one use case where it falls, however: plugins. The plugin package is intended for use with another host package, although it does not always use the host package directly. Most plugins are actually independent of their host package.

The solution to this problem was equal dependence.

, , react-bootstrap-table , react-router@3.0.0 dev .

, , , .

0

Source: https://habr.com/ru/post/1663071/


All Articles