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中有沒有特別的理由? –
不,沒有理由。讓我嘗試升級它。 –