yeoman error peerinvalid Peer generator-webapp@0.5.0 wants yo@>=1.2.0 -
running npm install -g generator-webapp
gives @ end of npm-debug.log
file:
18875 error peerinvalid bundle yo not satisfy siblings' peerdependencies requirements! 18875 error peerinvalid peer generator-mocha@0.1.6 wants yo@>=1.0.0 18875 error peerinvalid peer generator-webapp@0.5.0 wants yo@>=1.2.0 18876 error scheme windows_nt 6.1.7601 18877 error command "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-webapp" 18878 error cwd c:\users\junto\documents\my web sites\kita 18879 error node -v v0.10.17 18880 error npm -v 1.3.8 18881 error code epeerinvalid
running npm install -g yo
results in similar error:
19472 error peerinvalid bundle yo not satisfy siblings' peerdependencies requirements! 19472 error peerinvalid peer generator-mocha@0.1.6 wants yo@>=1.0.0 19472 error peerinvalid peer generator-webapp@0.5.0 wants yo@>=1.2.0 19473 error scheme windows_nt 6.1.7601 19474 error command "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo" 19475 error cwd c:\users\junto\documents\my web sites\kita 19476 error node -v v0.10.17 19477 error npm -v 1.3.8 19478 error code epeerinvalid 19479 verbose exit [ 1, true ]
how solve this?
found answer:
you need install yo 1.2.0
npm install -g yo@1.2.0
i had update npm well:
npm install -g npm@1.4.3
yeoman yeoman-generator
No comments:
Post a Comment