From 4f1c162f3d995cb3eb19cbba44dfb54b5012f52c Mon Sep 17 00:00:00 2001 From: Paula Rinta-Harri Date: Wed, 17 Apr 2024 15:53:20 +0300 Subject: [PATCH] Fix node install command --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 3d57cba..b6b789f 100644 --- a/deploy.sh +++ b/deploy.sh @@ -100,8 +100,8 @@ selectNodeVersion # Install Node.js version 18 echo "Installing Node.js version 18..." NODE_VERSION="18" -curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | sudo -E bash - -sudo apt-get install -y nodejs +curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash - +apt-get install -y nodejs # 3. Install Yarn DESIRED_YARN_VERSION="1.22.22"