Skip to content

Commit

Permalink
Fix default node version issue (#37)
Browse files Browse the repository at this point in the history
### What was the problem?

This PR resolves LISK-944.

### How was it solved?

Alias for default node.js version was created.
This version is later used inside `installApplication.sh` script.
  • Loading branch information
matjazv authored and sameersubudhi committed Sep 10, 2024
1 parent e54a744 commit 5484d7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/installApplication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
app_dir_name=/home/ubuntu/lisk-across-relayer
cd $app_dir_name
echo "Current DIR: $PWD"

nvm use
yarn install --frozen-lockfile
yarn build
1 change: 1 addition & 0 deletions scripts/installDependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ install_node_version() {

echo "Installing Node version $node_version..."
nvm install $node_version
nvm alias default $node_version
}

install_node_version
Expand Down

0 comments on commit 5484d7b

Please sign in to comment.