Skip to content

Instantly share code, notes, and snippets.

@harriha
Created February 2, 2017 09:19
Show Gist options
  • Save harriha/8fb29e3e08e9d07f8fc944f5ff70bdff to your computer and use it in GitHub Desktop.
Save harriha/8fb29e3e08e9d07f8fc944f5ff70bdff to your computer and use it in GitHub Desktop.
Material-ui dependency issue
harri@FL671 MINGW64 ~/repos/tmp/material-sample (master)
$ ll
total 9.0K
drwxr-xr-x 1 harri 197610 0 Feb 2 10:50 ./
drwxr-xr-x 1 harri 197610 0 Feb 2 10:35 ../
-rw-r--r-- 1 harri 197610 275 Feb 2 10:41 package.json
harri@FL671 MINGW64 ~/repos/tmp/material-sample (master)
$ cat package.json
{
"name": "material-sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "ISC",
"dependencies": {
"react": "15.3.2",
"react-dom": "15.3.2",
"react-tap-event-plugin": "1.0.0",
"material-ui": "0.15.4"
}
}
harri@FL671 MINGW64 ~/repos/tmp/material-sample (master)
$ npm install
[email protected] C:\Users\harri\repos\tmp\material-sample
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- UNMET PEER DEPENDENCY react@^15.4.2
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
`-- react-tap-event-plu [email protected]
WARN `-- [email protected]
`-- [email protected]
[email protected] requires a peer of react@^15.4.2 but none was installed.
npm WARN [email protected] requires a peer of react@^15.4.2 but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
harri@FL671 MINGW64 ~/repos/tmp/material-sample (master)
$ npm shrinkwrap
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs6\\node.exe" "C:\\Program Files\\nodejs6\\node_modules\\npm\\bin\\
npm-cli.js" "shrinkwrap"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid: react@^15.4.2, required by [email protected]
npm ERR! peer invalid: react@^15.4.2, required by [email protected]
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\harri\repos\tmp\material-sample\npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment