DigitalOcean Slice
Install NPM
Setup with Ubuntu:
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
Then install with Ubuntu:
sudo apt-get install --yes nodejs
Increase Swap
The memory of my slice is only 512MB ram, so I ended up needing to increase the size of the swap in order for NPM to run correctly.
fallocate -l 1024M /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile