MEAN npm install

时间:2016-04-09 07:55:57

标签: node.js mean npm-install

我按照MEAN Official Documentation在我的Ubuntu 14.04 x64位机器上安装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并试图从头开始安装节点,但没有运气。

1 个答案:

答案 0 :(得分:0)

我认为你应该尝试使用NSFetchedResultsController