我跟着MEAN Official Documentation在我的Ubuntu 14.04 x64位機器上安裝MEAN。 一切順利,直到我到達npm install
部分的文檔描述。當我運行該命令時出現以下錯誤:MEAN npm install
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hooker/-/hooker-0.2.3.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/jshint/-/jshint-2.8.0.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/bower/-/bower-1.4.1.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/bower/-/bower-1.4.1.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/mongoose/-/mongoose-4.3.3.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.11.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/swig/-/swig-1.4.2.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/lodash/-/lodash-2.4.2.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hawk/-/hawk-1.1.1.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hawk/-/hawk-1.1.1.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/bluebird/-/bluebird-2.9.34.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/coffee-script/-/coffee-script-1.3.3.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/tough-cookie/-/tough-cookie-2.0.0.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/tough-cookie/-/tough-cookie-2.0.0.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/uglify-js/-/uglify-js-2.4.24.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/uglify-js/-/uglify-js-2.4.24.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/npm/-/npm-2.13.5.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/npm/-/npm-2.13.5.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hawk/-/hawk-3.1.0.tgz
npm ERR! tar.unpack untar error /tmp/npm-7892-4a9f0047/registry.npmjs.org/hawk/-/hawk-3.1.0.tgz
而且進程並未停止。沒有錯誤記錄什麼。
node -v
回報v4.4.2
mean -v
回報0.11.1
我已經嘗試npm cache clean
以及試圖從頭開始,但沒有運氣安裝節點。
你有足夠多的'/ tmp'空間? – demas
在我的'/'上有19.4GB,'/ tmp'只用了23.9MB。我想這應該不成問題。 – nipunshakya
有一個問題https://github.com/npm/npm/issues/5133。嘗試使用'npm cache clean' +'npm update' +'npm install' – demas