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

July 22, 2016 2.4k views
Applications Node.js Ubuntu

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?

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.

Have another answer? Share your knowledge.