npm install 总是停留在 extract:time-grunt

npm install always stuck at that extract:time-grunt

我正在学习 Keystone 并尝试在真正的 Digital Ocean droplet 上进行练习。一切顺利,直到我卡在 npm install.

npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
Killed        .....] - extract:time-grunt: sill doParallel extract 1194

我所做的每一件事,从干净状态重新安装所有东西,npm install 总是卡在那个 extract:time-grunt

当我查看 node_modules 文件夹时,那里什么也没有。

我尝试搜索 Google 和此处,但找不到任何好的答案。我可以 运行 在我的 Mac 本地主机上正常运行,一切都很好。

服务器:Ubuntu16.04,节点 4.5.0,npm 3.10.16

这只是一个简单且非常基础的Keystone项目,我没有做任何高级的事情。

我想,你是运行内存不足。在开始 npm install 之前尝试 add some swap memory