mui-data-table icon indicating copy to clipboard operation
mui-data-table copied to clipboard

npm ERR! peerinvalid Peer [email protected] wants material-ui@^0.15.1

Open Swathi8 opened this issue 9 years ago • 1 comments

Getting the error while installing mui-data-table.

I material-ui installed with version 0.16.1

npm WARN peerDependencies The peer dependency material-ui@^0.15.1 included from mui-data-table will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mui-data-table"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants material-ui@^0.15.1

Swathi8 avatar Oct 31 '16 17:10 Swathi8

Same issue - overriding the peer dependency in npm-shrinkwrap.json resolved the issue e.g.:

{
    "name": "myAp",
    "version": "0.1.0",
    "dependencies": {
    "mui-data-table": {
      "version": "0.1.5",
      "from": "mui-data-table@^0.1.5",
      "dependencies": {
        "material-ui": {
          "version": "0.16.7",
          "from": "material-ui@^0.15.1"
        }
      }
    }
  }
}

trorbyte avatar Feb 20 '17 12:02 trorbyte