From 41c934a8dcf7a188ddb84cc5f7a577a376ddb0a9 Mon Sep 17 00:00:00 2001 From: Seth Boyles Date: Wed, 26 Oct 2022 22:02:38 +0000 Subject: [PATCH] Installing nodejs with apt is a bad idea and uses a very old version Co-authored-by: Seth Boyles Co-authored-by: David Alvarado --- install-scripts/ubuntu.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install-scripts/ubuntu.sh b/install-scripts/ubuntu.sh index fb32258..0bb886e 100755 --- a/install-scripts/ubuntu.sh +++ b/install-scripts/ubuntu.sh @@ -17,9 +17,10 @@ sudo apt install -y \ mysql-server \ postgresql \ python-pip \ - python-setuptools \ - nodejs \ - yarn + python-setuptools + +curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - &&\ + sudo apt-get install -y nodejs yarn # fun dependencies