React-starter-kit: npm install failed?

Created on 14 Jul 2016  路  5Comments  路  Source: kriasoft/react-starter-kit

I have just checkout the latest master, and do npm install but failed. Here is the log:
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.1
npm ERR! peerinvalid Peer [email protected] wants react@^15.1.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.2.1
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.0.0
npm ERR! peerinvalid Peer [email protected] wants [email protected] || 0.14.x || ^15.0.0-0

npm ERR! Please include the following file with any support request:
npm ERR! /Users/marvinkwok/Git/nodetesting/MyApp/npm-debug.log

Most helpful comment

I had the same problems. Please change the react version to 15.2.1. Then the install works.
But "npm start" does'nt work (Node 4.4.7 LTS)

All 5 comments

I ran into the same issue. Ended up just bumping all the react dependencies to the latest versions, see here: https://github.com/jahmaiosullivan/react-starter-kit/commit/9b5ddc605cc1e93648c289faa1611cba8cc9a7bd. Wasn't sure if author wanted to be on the latest so did not submit a PR.

I had the same problems. Please change the react version to 15.2.1. Then the install works.
But "npm start" does'nt work (Node 4.4.7 LTS)

If you're running into the issue with babel not compiling, add es2015 to the list of presets in package.json.

Your changes are working :)

Thanks retailify, your changes work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

koistya picture koistya  路  4Comments

artkynet picture artkynet  路  4Comments

piglovesyou picture piglovesyou  路  3Comments

mykhas picture mykhas  路  4Comments

rochadt picture rochadt  路  3Comments