MacKentoch / react-redux-graphql-apollo-bootstrap-webpack-starter

react js + redux + graphQL + Apollo + react router + hot reload + devTools + bootstrap + webpack starter
https://mackentoch.github.io/react-redux-graphql-apollo-bootstrap-webpack-starter
125 stars 33 forks source link

NPM install throws a lot of peer dependency warnings #1

Closed automagisch closed 7 years ago

automagisch commented 7 years ago

When I hit NPM install to install this package, I get the following errors:

npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react@15.5.4 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-apollo@0.5.16 wants react@0.14.x || 15.* || ^15.0.0
npm ERR! peerinvalid Peer react-bootstrap@0.28.5 wants react@>=0.14.0
npm ERR! peerinvalid Peer react-dom@15.5.4 wants react@^15.5.4
npm ERR! peerinvalid Peer react-modal@0.6.1 wants react@^0.14.0
npm ERR! peerinvalid Peer react-motion@0.4.8 wants react@>=0.13.2 || ^0.14 || ^15.0.0
npm ERR! peerinvalid Peer react-redux@4.4.8 wants react@^0.14.0 || ^15.0.0-0 || ^15.4.0-0 || ^16.0.0-0
npm ERR! peerinvalid Peer react-router@2.8.1 wants react@^0.14.0 || ^15.0.0
npm ERR! peerinvalid Peer react-tap-event-plugin@2.0.1 wants react@^15.4.0-0
npm ERR! peerinvalid Peer enzyme@2.8.2 wants react@0.13.x || 0.14.x || ^15.0.0-0 || 15.x
npm ERR! peerinvalid Peer redux-devtools-log-monitor@1.3.0 wants react@^0.14.9 || ^15.3.0
npm ERR! peerinvalid Peer redux-devtools@3.4.0 wants react@^0.14.9 || ^15.3.0
npm ERR! peerinvalid Peer redux-devtools-dock-monitor@1.1.2 wants react@^0.14.9 || ^15.3.0

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/koenhoutman/hashtracks/ui/npm-debug.log

So maybe it's a good idea to check up on the versioning of all the node modules. Have been unable to solve this yet.

MacKentoch commented 7 years ago

Hi,

I used node v6. So it should explain theses errors.

Do you have nvm installed to switch to node 6+?

automagisch commented 7 years ago

Ahw unlucky me. this fixed the installation, thanks a lot! I have to learn to read :)

MacKentoch commented 7 years ago

😄