workshopper / learnyoureact

Let's learn React.js and server side rendering!
MIT License
536 stars 142 forks source link

Unable to start workshop after installing via npm #124

Open olemis opened 7 years ago

olemis commented 7 years ago

Hello . I installed learnyoureact via npm . Once I start with the setup (install react.js etc ...) I get the following error

$ npm install --save react react-dom express body-parser express-react-views@0.9.0 babel@5.8.23

npm WARN prefer global babel@5.8.23 should be installed with -g
npm ERR! Darwin 16.1.0
npm ERR! argv "~/.nvm/versions/node/v0.12.18/bin/node" "~/.nvm/versions/node/v0.12.18/bin/npm" "install" "--save" "react" "react-dom" "express" "body-parser" "express-react-views@0.9.0" "babel@5.8.23"
npm ERR! node v0.12.18

npm ERR! npm  v2.15.11
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react@15.5.3 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer express-react-views@0.9.0 wants react@^0.14.0
npm ERR! peerinvalid Peer react-dom@15.5.3 wants react@^15.5.3

What shall I do ?

Best regards,

Olemis

DusanSacha commented 7 years ago

Hello, as a temporary sollution, you can run the installation with lower version of React - it was suggested in Issue #109 :

npm install --save react@0.14.8 react-dom@0.14.8 express body-parser express-react-views@0.9.0 babel@5.8.23