简体   繁体   English

无法在Windows 8上安装Yeoman-npm ERR! peerinvalid软件包yo不满足其同级的peerDependencies

[英]Can't install Yeoman on Windows 8 - npm ERR! peerinvalid The package yo does not satisfy its siblings' peerDependencies

I'm struggling to install Yeoman. 我正在努力安装Yeoman。 Fairly new to Node and the command line in general so not really sure where to start. 一般来讲,Node和命令行还算是新手,所以不确定从哪里开始。 I searched for similar problems and tried things like npm cache clear and I've tried removing some other packages like grunt which I though might be interfering, but no luck. 我搜索了类似的问题,并尝试了诸如npm cache clear类的事情,并尝试删除了一些其他软件包,例如grunt,尽管我可能会干扰它们,但没有运气。

When I run npm install -g yo it seems to be OK but then it ends with this error message: 当我运行npm install -g yo这似乎没问题,但它以以下错误消息结尾:

...
npm http 304 https://registry.npmjs.org/minimist/0.0.8
C:\c\Users\Matt\.node\yo -> C:\c\Users\Matt\.node\node_modules\yo\cli.js

> yo@1.1.2 postinstall C:\c\Users\Matt\.node\node_modules\yo
> node ./scripts/doctor

[Yeoman Doctor] Everything looks alright!

npm ERR! peerinvalid The package yo does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer generator-mocha@0.1.5 wants yo@>=1.0.0
npm ERR! peerinvalid Peer generator-webapp@0.5.0 wants yo@>=1.2.0

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo"
npm ERR! cwd C:\Users\Matt
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Matt\npm-debug.log
npm ERR! not ok code 0

Matt@ACER_V3_571 ~
$ yo
sh.exe": yo: command not found

您是否尝试过以管理员权限打开控制台?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 npm ERR! peerinvalid软件包@ ionic-native / core @ 5.11.0不满足其同级的peerDependencies要求 - npm ERR! peerinvalid The package @ionic-native/core@5.11.0 does not satisfy its siblings' peerDependencies requirements npm 错误:peerinvalid 包 rxjs 不满足其兄弟姐妹 - npm error: peerinvalid The package rxjs does not satisfy its siblings NodeJ和npm:程序包mocha不满足其同级的peerDependencies要求 - NodeJs and npm: The package mocha does not satisfy its siblings' peerDependencies requirements Jhispter安装:包karma不满足其兄弟姐妹的peerDependencies要求 - Jhispter installation: The package karma does not satisfy its siblings' peerDependencies requirements 包rxjs不满足其兄弟姐妹的peerDependencies要求 - The package rxjs does not satisfy its siblings' peerDependencies requirements react@15.2.1包不满足其兄弟姐妹的peerDependencies要求 - The package react@15.2.1 does not satisfy its siblings' peerDependencies requirements npm install jhipster包哟不满意 - npm install jhipster package yo does not satisfy 包rxjs@5.0.0-beta.6不满足其兄弟姐妹的peerDependencies要求? - The package rxjs@5.0.0-beta.6 does not satisfy its siblings' peerDependencies requirements? 如何解决对等依赖错误:包 react@15.3.2 不满足其兄弟姐妹的 peerDependencies 要求 - How do I resolve peer dependency error: The package react@15.3.2 does not satisfy its siblings' peerDependencies requirements 包反应不满足其兄弟姐妹 - the package react does not satisfy its siblings
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM