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