Skip to content

Commit

Permalink
fix: install npm on after-install script
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Mar 21, 2024
1 parent e284c2d commit 81e3067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion aws/scripts/after-install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source /home/ubuntu/.profile
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm use

npm i
2 changes: 0 additions & 2 deletions aws/scripts/application-start.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
source /home/ubuntu/.profile

npm run start

0 comments on commit 81e3067

Please sign in to comment.