Skip to content

Commit

Permalink
fix: use full npm path in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Mar 20, 2024
1 parent 1e1c00a commit a02bbc4
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 a02bbc4

Please sign in to comment.