簡體   English   中英

無法在Windows上為node.js安裝nodemon

[英]Unable to install nodemon on Windows for node.js

我正在嘗試為node.js安裝最新版本的nodemon模塊,但是當我執行npm install nodemon -g ,出現以下錯誤:

npm ERR! Error: No compatible version found: chalk@'^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! npm-@googlegroups.com

有時這是chalk@'^0.4.0' configstore@^0.3.0 chalk@'^0.4.0'configstore@^0.3.0semver@2.2.1的錯誤(隨機)。 您能告訴我如何成功安裝nodemon嗎? 我正在Windows 7 64位下使用node.js v.0.10.22,npm 1.2.14

最佳Loic

我僅通過將我的node.js版本從0.10.22升級到0.10.28就成功安裝了nodemon模塊。

現在可以了!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM