简体   繁体   English

npm install总是停留在该解压缩:time-grunt

[英]npm install always stuck at that extract:time-grunt

I'm learning Keystone and trying to practice it on real Digital Ocean droplet. 我正在学习Keystone,并尝试在真正的Digital Ocean Droplet上进行实践。 Everything go fine, until I stuck at npm install . 一切顺利,直到我坚持使用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

What every I do, reinstall everything from clean state, the npm install always stucks at that extract:time-grunt 我要做的是,从干净状态重新安装所有内容, npm install始终卡在该extract:time-grunt

When I check the node_modules folder, there is nothing there. 当我检查node_modules文件夹时,那里什么也没有。

I've tried to search Google and also here, but can not find any good answer. 我已经尝试在Google和此处搜索Google,但找不到任何好的答案。 I can run good on my Mac localhost, everything just fine. 我可以在Mac本地主机上运行良好,一切都很好。

Server: Ubuntu 16.04, Node 4.5.0, npm 3.10.16 伺服器:Ubuntu 16.04,Node 4.5.0,npm 3.10.16

It is just a simple and really basic Keystone project, I did not do anything advanced. 这只是一个简单且非常基础的Keystone项目,我没有做任何高级的事情。

I think, you are running out of memory . 我认为您的内存不足 try to add some swap memory before you start npm install. 在开始npm安装之前,请尝试添加一些交换内存

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM