Skip to content

Commit

Permalink
Update NodeJS to the current LTS version
Browse files Browse the repository at this point in the history
We were on a deprecated release
  • Loading branch information
ggiamarchi committed Sep 14, 2016
1 parent 8774962 commit 9d79e76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sudo openssl x509 -req -days 365 -in ${cert}.csr -signkey ${cert}.key -out ${cer
### Install tools
##################################################################
sudo apt-get install -y --force-yes git tcpdump bridge-utils jq curl
sudo apt-get install -y --force-yes git tcpdump bridge-utils jq curl build-essential
##################################################################
Expand Down Expand Up @@ -143,8 +143,9 @@ sed -i "s/profile: production/profile: development/" conf.yaml
### Install NodeJS (for RuggedPOD serial web console)
##################################################################
curl -sSL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y git nodejs build-essential
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g bower
sudo npm install -g grunt-cli
Expand All @@ -165,7 +166,7 @@ bower install
cd /vagrant/serial
sudo chown -R vagrant: /home/vagrant/.npm
sudo rm -rf node_modules
npm install --no-bin-links
npm install
sed -i "s/screen-safe/screen-mock/" config.json
Expand Down
2 changes: 1 addition & 1 deletion serial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"express": "4.12.2",
"log4js": "0.6.22",
"pty.js": "0.2.5",
"pty.js": "0.3.1",
"socket.io": "1.3.5",
"term.js": "0.0.4",
"underscore": "1.8.2"
Expand Down

0 comments on commit 9d79e76

Please sign in to comment.