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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.