简体   繁体   English

为我的节点项目执行npm安装时出错

[英]Error while doing npm install for my node project

D:\gegdc\AS332703\predix-seed-develop>npm install
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\gegdc\\AS332703\\Software\\Nodejs\\\\node.exe" "D:\\gegdc\\AS
332703\\Software\\Nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDepend
encies requirements!
npm ERR! peerinvalid Peer grunt-contrib-requirejs@0.4.4 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-bump@0.8.0 wants grunt@>=1.0.1
npm ERR! peerinvalid Peer grunt-contrib-clean@0.5.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-karma@0.8.3 wants grunt@0.4.x
npm ERR! peerinvalid Peer grunt-autoprefixer@3.0.4 wants grunt@>=0.4.2
npm ERR! peerinvalid Peer grunt-contrib-copy@0.8.2 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-config@0.2.2 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-jshint@0.8.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-connect@0.7.1 wants grunt@~0.4.0
npm ERR! peerinvalid Peer load-grunt-tasks@3.5.0 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-contrib-watch@0.6.1 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-cssmin@0.12.3 wants grunt@>=0.4.0

npm ERR! Please include the following file with any support request:
npm ERR!     D:\gegdc\AS332703\predix-seed-develop\npm-debug.log

I am getting this error: npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! 我收到此错误: npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements!

I tried updating the node installation, I also tried updating the node dependency version, and still get the same issue. 我尝试更新节点安装,也尝试更新节点依赖版本,但仍然遇到相同的问题。

The error npm ERR! 错误npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! peerinvalid软件包grunt不能满足其兄弟姐妹的peerDependencies要求! indicates a library dependency for the project as specified in the package.json is incompatible with the version of another. 表示package.json指定的项目的库依赖项package.json与另一个版本不兼容。 In this case I believe that grunt-bump@0.8.0 requires a newer version of grunt but that you may be able to safely downgrade to 0.7.0 as discussed in the Predix forums . 在这种情况下,我相信grunt-bump@0.8.0需要更新版本的grunt,但是您可以安全地降级到0.7.0,如Predix 论坛中所述

Somebody else ran into this and submitted an issue in the github project repos to address the predix-seed source directly. 有人遇到了这个问题 ,并在github项目回购中提交了一个问题 ,以直接解决predix-seed的来源。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM