2014-06-10 32 views
0

我試圖安裝最新版本的Node.js的nodemon模塊的,但是當我做npm install nodemon -g我有以下錯誤:無法在Windows上安裝nodemon於Node.js

npm ERR! Error: No compatible version found: [email protected]'^0.4.0' 
npm ERR! Valid install targets: 
npm ERR! ["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.4.0"] 
npm ERR! at installTargetsError (C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:682:10) 
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:597:10 
npm ERR! at saved (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:138:7) 
npm ERR! at Object.oncomplete (fs.js:107:15) 
npm ERR! If you need help, you may report this log at: 
npm ERR! http://github.com/isaacs/npm/issues 
npm ERR! or email it to: 
npm ERR! [email protected] 

有時候, (隨機)出錯[email protected]'^0.4.0'[email protected]^0.3.0[email protected]。 您能否指出我如何才能成功安裝nodemon? 我使用Windows下的node.js v.0.10.22,NPM 1.2.14 7 64位

最佳 盧瓦克

回答

1

我成功只需從升級我的版本的node.js的安裝nodemon模塊0.10.22至0.10.28。

現在它工作!