From fa12f4bab874390f1f0b44ad8598371db36ef908 Mon Sep 17 00:00:00 2001 From: Moe Date: Wed, 1 Nov 2023 09:35:28 -0700 Subject: [PATCH] fix docker install nodejs script --- Docker/install_nodejs.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Docker/install_nodejs.sh b/Docker/install_nodejs.sh index 31799276..a47152ff 100644 --- a/Docker/install_nodejs.sh +++ b/Docker/install_nodejs.sh @@ -15,11 +15,9 @@ else fi if [ -x "$(command -v npm)" ]; then - echo "NPM NOT FOUND!" -else echo "NPM detected. Version : $(npm -v)" npm i npm@latest -g - npm install --unsafe-perm fi +npm install --unsafe-perm npm i pm2@latest -g npm i pg