1
我对此很陌生。我不知道是否必须认真对待这个问题,或者我可以继续进行我的工作。只有在这里,我可以发布它的全部细节。执行“npm install”时出错
npm ERR! error installing [email protected]
npm ERR! error rolling back [email protected] Error: UNKNOWN, unknown error '/home/ubuntu/vengit/node_modules/express'
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: [email protected]
npm ERR! Required: {"node":">= 0.8.0"}
npm ERR! Actual: {"npm":"1.1.4","node":"0.6.12"}
npm ERR!
npm ERR! System Linux 3.2.0-40-virtual
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/ubuntu/vengit
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR! errno {}
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/mime
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/vengit/npm-debug.log
npm not ok
您有节点0.6.12,您将无法安装Express 3.x.x.为什么不能升级Node.js?在0.6.12中有没有特别的理由? –
不,没有理由。让我尝试升级它。 –