Skip to content

Instantly share code, notes, and snippets.

@harriha
Created February 2, 2017 09:19
Show Gist options
  • Select an option

  • Save harriha/8fb29e3e08e9d07f8fc944f5ff70bdff to your computer and use it in GitHub Desktop.

Select an option

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
material-sample@1.0.0 C:\Users\harri\repos\tmp\material-sample
+-- material-ui@0.15.4
| +-- inline-style-prefixer@2.0.5
| | +-- bowser@1.6.0
| | `-- hyphenate-style-name@1.0.2
| +-- keycode@2.1.8
| +-- lodash@4.17.4
| +-- UNMET PEER DEPENDENCY react@^15.4.2
| +-- react-addons-create-fragment@15.4.2
| +-- react-addons-transition-group@15.4.2
| +-- react-event-listener@0.2.1
| +-- recompose@0.20.2
| | +-- change-emitter@0.1.2
| | +-- hoist-non-react-statics@1.2.0
| | `-- symbol-observable@0.2.4
| +-- simple-assign@0.1.0
| `-- warning@3.0.0
+-- react@15.3.2
| +-- fbjs@0.8.9
| | +-- core-js@1.2.7
| | +-- isomorphic-fetch@2.2.1
| | | +-- node-fetch@1.6.3
| | | | +-- encoding@0.1.12
| | | | | `-- iconv-lite@0.4.15
| | | | `-- is-stream@1.1.0
| | | `-- whatwg-fetch@2.0.2
| | +-- promise@7.1.1
| | | `-- asap@2.0.5
| | +-- setimmediate@1.0.5
| | `-- ua-parser-js@0.7.12
| +-- loose-envify@1.3.1
| | `-- js-tokens@3.0.1
| `-- object-assign@4.1.1
+-- react-dom@15.3.2
`-- react-tap-event-plu gin@1.0.0
WARN `-- fbjs@0.2.1
`-- whatwg-fetch@0.9.0
react-addons-create-fragment@15.4.2 requires a peer of react@^15.4.2 but none was installed.
npm WARN react-addons-transition-group@15.4.2 requires a peer of react@^15.4.2 but none was installed.
npm WARN material-sample@1.0.0 No description
npm WARN material-sample@1.0.0 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 react-addons-create-fragment@15.4.2
npm ERR! peer invalid: react@^15.4.2, required by react-addons-transition-group@15.4.2
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