From ca710d7203500c16a8137aa476e3b4529d9362b5 Mon Sep 17 00:00:00 2001 From: siepra Date: Thu, 21 Mar 2024 10:30:31 +0100 Subject: [PATCH] Revert "chore: remove direct npm path from scripts" This reverts commit 7845dd67fbb39d6b50dca84d18663e01ff9a1576. --- aws/scripts/after-install.sh | 2 +- aws/scripts/application-start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/scripts/after-install.sh b/aws/scripts/after-install.sh index 82c9aa4..1b16405 100644 --- a/aws/scripts/after-install.sh +++ b/aws/scripts/after-install.sh @@ -2,4 +2,4 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -npm i +/home/ubuntu/.nvm/versions/node/v18.12.1/bin/npm i diff --git a/aws/scripts/application-start.sh b/aws/scripts/application-start.sh index 1599a71..704a00f 100644 --- a/aws/scripts/application-start.sh +++ b/aws/scripts/application-start.sh @@ -2,4 +2,4 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -npm run start +/home/ubuntu/.nvm/versions/node/v18.12.1/bin/npm run start