learnyoureact icon indicating copy to clipboard operation
learnyoureact copied to clipboard

Unable to start workshop after installing via npm

Open olemis opened this issue 7 years ago • 1 comments

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 [email protected] [email protected]

npm WARN prefer global [email protected] 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" "[email protected]" "[email protected]"
npm ERR! node v0.12.18

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

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.5.3

What shall I do ?

Best regards,

Olemis

olemis avatar Apr 08 '17 20:04 olemis

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

npm install --save [email protected] [email protected] express body-parser [email protected] [email protected]

DusanSacha avatar Apr 20 '17 09:04 DusanSacha