Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

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

Open
Swathi8 opened this issue Oct 31, 2016 · 1 comment
Open

Comments

@Swathi8
Copy link

Swathi8 commented Oct 31, 2016

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
@trorbyte
Copy link

trorbyte commented Feb 20, 2017

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"
        }
      }
    }
  }
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants