【发布时间】:2013-08-22 19:44:20
【问题描述】:
我是新手。我不知道这是否必须认真对待,或者我可以继续我正在做的事情。只有在这里我才能把它详细地贴出来。
npm ERR! error installing express@3.3.5
npm ERR! error rolling back express@3.3.5 Error: UNKNOWN, unknown error '/home/ubuntu/vengit/node_modules/express'
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: connect@2.8.5
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
【问题讨论】:
-
您拥有 Node 0.6.12,您将无法安装 Express 3.x.x。为什么不能升级 Node.js?使用 0.6.12 有什么特别的原因吗?
-
没有。没有理由。让我尝试升级它。