revert npm 3 to npm 2 for vagrant installs; adjust instructions so novice users don't try to run commands before doing 'vagrant ssh'

This commit is contained in:
Alys 2016-04-20 09:23:50 +10:00
parent cdf4a384d6
commit 823f51e727
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ nvm use
nvm alias default current
echo Update npm...
npm install -g npm@3
npm install -g npm@2
echo Installing global modules...
npm install -g gulp bower grunt-cli mocha

View file

@ -65,7 +65,7 @@ apt-get install -qq ntp
echo Installing nvm, node and global node modules...
/vagrant/vagrant_scripts/install_node.sh
echo All done! run npm install to install the required node modules and then npm start to start the server
echo "'vagrant up' is finished. Continue with the instructions at http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally"
# Uncomment both lines to autostart the habitica server when provisioning
# echo Starting Habitica server...