User blog:Thepeopleseason/Getting node installed on Ubuntu/Vagrant

In the Setting up HabitRPG locally page, there's a brief mention of issues with Ubuntu's installation of nodejs. This is what I've discovered corrects that issue:

% sudo apt-get update % sudo apt-get install -y curl wget build-essential python-software-properties python g++ make % sudo add-apt-repository -y ppa:chris-lea/node.js % sudo apt-get update % sudo apt-get install nodejs % curl -L https://npmjs.org/install.sh | sudo sh

Note the -L on  forces the program to follow redirects when fetching content.

I'm still running into issues with getting  to run, but making headway on creating a vagrant image for HabitRPG development.