2012-07-30 75 views
0

當我運行NPM安裝我得到這個錯誤 - 爲什麼這可能發生的想法? 我從來沒有安裝全球其他圖書館的一個問題,我不能在http://search.npmjs.org/安裝咕嚕全局失敗,我找不到它npmjs.org

npm install -g grunt 
npm ERR! Error: Not found: [email protected]'' 
npm ERR! Valid install targets: 
npm ERR! ["latest","devel"] 
npm ERR!  at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:410:10) 
npm ERR!  at /usr/local/lib/node_modules/npm/lib/cache.js:403:17 
npm ERR!  at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:136:7) 
npm ERR!  at cb (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:36:9) 
npm ERR! Report this *entire* log at: 
npm ERR!  <http://github.com/isaacs/npm/issues> 
npm ERR! or email it to: 
npm ERR!  <[email protected]> 
npm ERR! 
npm ERR! System Darwin 10.8.0 
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "grunt" 
npm ERR! cwd /Users/** 
npm ERR! node -v v0.4.10 
npm ERR! npm -v 1.0.103 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR!  /Users/**/npm-debug.log 
npm not ok 
+1

我會通過升級的Node.js開始尋找咕嚕和NPM。您當前運行很老的版本。不知道你爲什麼沒有在NPM發現咕嚕,但它是:https://npmjs.org/package/grunt – 2012-08-10 16:31:23

+0

感謝 - 它結束了升級 – imrane 2012-08-10 23:53:25

+0

的問題,您應該回答你自己的問題,如果你發現瞭解決方案... – 2012-11-18 15:35:41

回答

0

我最終只是有升級的節點和NPM