Skip to content

Commit ee908cc

Browse files
committed
update pre-reqs script to install and check for node v16 instead of v14
1 parent c0e6ea3 commit ee908cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cloud9Setup/pre-requisites-versions-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ echo ""
9292
echo "Checking node version"
9393
node --version
9494
NODE_VERSION=$(node --version | cut -d'v' -f 2)
95-
NODE_MIN_VERSION=14.0.0
95+
NODE_MIN_VERSION=16.0.0
9696
check_version $NODE_MIN_VERSION $NODE_VERSION
9797
if [[ $? -eq 1 ]]; then
9898
echo "ACTION REQUIRED: Need to have Node version greater than or equal to $NODE_MIN_VERSION"

Cloud9Setup/pre-requisites.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ rm get-pip.py
4141

4242
python3 -m pip install git-remote-codecommit==1.15.1
4343

44-
# Install node v14.18.1
45-
echo "Installing node v14.18.1"
44+
# Install node v16.20.0
45+
echo "Installing node v16.20.0"
4646
nvm deactivate
4747
nvm uninstall node
48-
nvm install v14.18.1
49-
nvm use v14.18.1
50-
nvm alias default v14.18.1
48+
nvm install v16.20.0
49+
nvm use v16.20.0
50+
nvm alias default v16.20.0
5151

5252
# Install cdk cli version ^2.0.0
5353
echo "Installing cdk cli version ^2.0.0"

0 commit comments

Comments
 (0)