npm install始终坚持那个提取:time-grunt

时间:2016-08-29 08:57:23

标签: node.js ubuntu-16.04 keystonejs

我正在学习Keystone并尝试在真正的数字海洋液滴上练习它。一切顺利,直到我坚持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 localhost上运行良好,一切都很好。

服务器:Ubuntu 16.04,节点4.5.0,npm 3.10.16

这只是一个简单而且非常基本的Keystone项目,我没有做任何先进的事情。

1 个答案:

答案 0 :(得分:9)

我认为,你内存不足。在开始npm install之前尝试add some swap memory