Skip to content

Commit

Permalink
update Ubuntu_Setup_Part_1.sh to force node v8 install
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Dill committed Oct 31, 2018
1 parent 44a5187 commit bd8402e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup_Ubuntu_Part_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ function nodeV8Install()
[ -s "${NVM_DIR}/bash_completion" ] && . "${NVM_DIR}/bash_completion"

showStep "Installing nodeJS"
nvm install --lts

nvm install 8.12.0
showStep "Configure nvm to use version 8"
nvm use --lts
nvm alias default 'lts/*'
nvm alias default 8.12.0

nvm use v8.12.0

# Install the latest version of npm
showStep "Installing npm"
Expand Down

0 comments on commit bd8402e

Please sign in to comment.