我正在尝试通过Yo生成jhipster项目。但是当我运行它时,会发生一个奇怪的错误:The package karma does not satisfy its siblings' peerDependencies requirements!我完全卸载了nodejs并再次安装了它,但是仍然是同样的错误。
当我搜索时,有一些解决方案建议,例如thisthis

我有64位win7,
节点-v v0.10.26
npm -v 1.4.3

error peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
error peerinvalid Peer [email protected] wants karma@>=0.9
error peerinvalid Peer [email protected] wants karma@>=0.9.3
error peerinvalid Peer [email protected] wants karma@>=0.9
error peerinvalid Peer [email protected] wants karma@>=0.9
error peerinvalid Peer [email protected] wants karma@>=0.9
error peerinvalid Peer [email protected] wants karma@>=0.9
error peerinvalid Peer [email protected] wants karma@~0.12.0
error System Windows_NT 6.1.7601
error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
error cwd C:\Users\EXT0182703\LuckyShoot
error node -v v0.10.26
error npm -v 1.4.3
error code EPEERINVALID
verbose exit [ 1, true ]

最佳答案

我们昨天发布了可解决此问题的版本0.11。
尝试一下。 http://jhipster.github.io/2014/02/19/jhipster-release-0.11.0.html

关于npm - Jhispter安装: The package karma does not satisfy its siblings' peerDependencies requirements,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22364960/

10-16 18:05