2013-10-12 104 views
1

安裝DocPad 6.53當我嘗試使用下面的命令來安裝DocPad錯誤在Windows 7

npm install -g [email protected] 

我得到這個錯誤:

npm ERR! Error: No compatible version found: [email protected]'RedVentures/reduce#346d59' 
npm ERR! Valid install targets: 
npm ERR! ["0.1.0","0.1.2"] 
npm ERR!  at installTargetsError (C:\Program Files\nodejs\node_modules\npm\lib\cache.js:719:10) 
npm ERR!  at C:\Program Files\nodejs\node_modules\npm\lib\cache.js:638:10 
npm ERR!  at saved (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:142:7) 
npm ERR!  at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:133: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]> 

npm ERR! System Windows_NT 6.1.7600 
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "[email protected] 
" 
npm ERR! cwd D:\!Docpad 
npm ERR! node -v v0.10.20 
npm ERR! npm -v 1.3.11 
  • 操作系統:Windows 7
  • 的NodeJS: v0.10.20
  • NPM:1.3.11

任何想法可能是錯的?我怎樣才能繞過這個?

回答

2

安裝Git並將其添加到路徑解決問題:

enter image description here

更多信息,可以發現there