我跟着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