Question

attempt to `npm install -g angular-cli` fails with "Killed" response at different points during installation

Posted July 22, 2016 3.6k views
Ubuntu Node.js Applications

Hi, i am attempting to install angular-cli via npm -g install angular-cli

It fails every single time at different spots during the installation with a response of “Killed”

Any idea why this might be occurring?

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.

3 answers

Are you running this as root or using sudo? Improper permissions is usually my go to thing to check for errors with npm, gem or other similar utilities.

The angular CLI requires at least 1GB of RAM, so small droplets (512 MB RAM / 1 CPU) won’t suffice, resize it.

Submit an Answer