2012-07-18 54 views
1

每次我嘗試安裝模塊或列出已安裝的模塊與nodester npm,我結束了這一點。nodester節點版本錯誤

nodester Error: npm doesn't work with node v0.8.1 
nodester Required: [email protected] || 0.5 || 0.6 
nodester  at /usr/lib/node_modules/npm/bin/npm-cli.js:57:23 
nodester  at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:77: 
3) 
nodester  at Module._compile (module.js:449:26) 
nodester  at Object.Module._extensions..js (module.js:467:10) 
nodester  at Module.load (module.js:356:32) 
nodester  at Function.Module._load (module.js:312:12) 
nodester  at Module.runMain (module.js:487:10) 
nodester  at process.startup.processNextTick.process._tickCallback (node.js:2 

有沒有人知道這條消息實際上是什麼意思?我似乎無法找到任何信息。 它正在討論由路徑(我在Windows上)判斷的節點服務器上npm的版本。

+0

我有這個問題!它可能是節點不使用最新版本? – Spoeken 2012-07-31 18:48:47

回答

0

我最近在我的Ubuntu設置中遇到了這個問題,基本上我更新了NPM並解決了問題。對我來說,似乎我需要配置NPM才能使用當前安裝的節點版本。希望這能幫助那些在這篇文章中絆倒的人,因爲我努力在任何地方找到答案。