2014-03-30 38 views
0

嘗試使用angularjs-library生成器。我收到以下錯誤:使用yeoman generator-angularjs-library

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements! 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.9 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.9.3 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.11.14 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.9 

npm ERR! System Windows_NT 6.1.7601 
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! cwd C:\InteliJ\BYGA\testlib 
npm ERR! node -v v0.10.26 
npm ERR! npm -v 1.4.3 
npm ERR! code EPEERINVALID 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  C:\InteliJ\BYGA\testlib\npm-debug.log 
npm ERR! not ok code 0 

我該如何解決?

謝謝。

回答

1

我想我得到了它 -

npm rm karma-coffee-preprocessor 

這是一個需要因緣版〜0.11

+0

這對我幫助很大,謝謝唯一模塊。 –