Skip to content

Commit 8432aa8

Browse files
authored
Update nodejs to v6 (dotnet#17)
- Default nodejs on Ubuntu 16.04 is v4.2.6, but SignalR needs v6 or later - Symlink should no longer be required - npm is now included in the nodejs v6 package, so there's no need to install a separate package
1 parent 95ef7fa commit 8432aa8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

BuildAgent/SetupScripts/BuildAgentSetup_Ubuntu.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ echo "Installing Java..."
3939
apt-get install -y default-jre-headless unzip
4040

4141
echo "Installing Node.js..."
42+
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
4243
apt-get install -y nodejs
43-
ln -s /usr/bin/nodejs /usr/bin/node
44-
45-
echo "Installing NPM..."
46-
apt-get install -y npm
4744

4845
echo "Installing Bower globally..."
4946
npm install -g bower

0 commit comments

Comments
 (0)