2013-10-12 42 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