npm ERR! Error: write EIO npm ERR! at errnoException (net.js:901:11) npm ERR! at Object.afterWrite (net.js:718:19) 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>
npm ERR! System Windows_NT 6.1.7601 npm ERR! command “F:\NodeJS\\node.exe” “F:\NodeJS\node_modules\npm\bin\n pm-cli.js” “install” "express" npm ERR! cwd C:\Users\lanling npm ERR! node -v v0.10.17 npm ERR! npm -v 1.3.8 npm ERR! syscall write npm ERR! code EIO npm ERR! errno EIO npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\dudu\npm-debug.log npm ERR! not ok code 0
错误原因:win7下权限问题 解决办法:以管理员身份运行cmd,再执行命令