diff --git a/idc-deploy-shell/install-deps.sh b/idc-deploy-shell/install-deps.sh index a9b973018ea..00a6a850671 100644 --- a/idc-deploy-shell/install-deps.sh +++ b/idc-deploy-shell/install-deps.sh @@ -33,7 +33,7 @@ apt-get install -y g++ # Following instructions at https://github.com/nodesource/distributions/blob/master/README.md#deb # -curl -sL https://deb.nodesource.com/setup_18.x | bash - +curl -sL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs # Yarn via Corepack — matches package.json "packageManager" (yarn@1.22.22) @@ -43,6 +43,7 @@ corepack prepare yarn@1.22.22 --activate # Verify installations echo "Installation complete!" +echo "Node version: $(node --version)" echo "Yarn location: $(which yarn)" echo "Yarn version: $(yarn --version)" diff --git a/package.json b/package.json index 37e0f03832e..72d61cb86bf 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ ] }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=6", "yarn": ">=1.20.0" },