Report this

What is the reason for this report?

NPM gets killed no matter what.

Posted on October 29, 2014

I have a droplet with Ubuntu 12.04 where i have installed node and npm. But no matter what i try, npm works a little and the gets “killed”. It happens if i try “npm update” or “npm install”.

Anyone know what causes this and if there is a solution?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

u can run this cmd if ur project hanging at 91

sudo apt-get install libpng16-dev

From what I understand, this happens when the process is taking too many resources for you droplet. What worked for me was installing all my required packages one by one, but I assume this could also be done using a shell script.

I have the same problem. Is there a workaround?

EDIT: Maybe it’s possible to create a gulp task that runs npm install in batches… I might look into that when I have free time on my hands.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.