2016-07-27 116 views
0
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 [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=1.0.1 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected] 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.4.2 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.4.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=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 

我收到此錯誤:npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements!錯誤而做NPM安裝我的節點項目

我試圖更新節點安裝,我也嘗試過更新節點的依賴版本,仍然得到同樣的問題。

+0

錯誤不在npm中,但在您的配置中,您可以發佈'package.json'的內容嗎? – DrakaSAN

回答

0

錯誤npm ERR! peerinvalid包grunt不滿足其兄弟的peerDependencies要求!表示package.json中指定的項目的庫依賴項與另一個版本不兼容。在這種情況下,我相信[email protected]需要更新版本的grunt,但您可以安全降級到0.7.0,如Predix forums中所述。

其他人碰到了這個問題,並在github項目回購中提交了issue直接尋址predix-seed源。

+0

是的,我降低了咕嚕聲到0.7.0,它工作順利。謝謝 :) –