From 949dbdaa20874683eae9b9854f79a02d35c371b2 Mon Sep 17 00:00:00 2001 From: Paula Rinta-Harri Date: Wed, 17 Apr 2024 16:17:34 +0300 Subject: [PATCH] Fix node install command --- deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index b6b789f..e792560 100644 --- a/deploy.sh +++ b/deploy.sh @@ -100,8 +100,9 @@ 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 | bash - -apt-get install -y nodejs +npm install -g n +n 18.17.1 + # 3. Install Yarn DESIRED_YARN_VERSION="1.22.22"