1

I'm learning Keystone and trying to practice it on real Digital Ocean droplet. Everything go fine, until I stuck at npm install.

npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: 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 [email protected]: 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

When I check the node_modules folder, there is nothing there.

I've tried to search Google and also here, but can not find any good answer. I can run good on my Mac localhost, everything just fine.

Server: 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.

1
  • Please do not add remarks about "sneaky hide below your keyboard" - downvoting or flagging are merely systems to keep questions focussed and on-topic. The question itself however seems fine to me - just remember that not everything is on-topic.
    – halfer
    Aug 31, 2016 at 10:05

1 Answer 1

10

I think, you are running out of memory. try to add some swap memory before you start npm install.

2
  • Thank you, I will try and feed back soon.
    – Sang Dang
    Aug 29, 2016 at 10:30
  • 1
    Yeah, added swap file and problem solved. Thank you so much.
    – Sang Dang
    Aug 29, 2016 at 11:44

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.