Skip to content

Commit

Permalink
Revert "chore: remove direct npm path from scripts"
Browse files Browse the repository at this point in the history
This reverts commit 7845dd6.
  • Loading branch information
siepra committed Mar 21, 2024
1 parent 05099ab commit ca710d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/scripts/after-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion aws/scripts/application-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ca710d7

Please sign in to comment.