diff --git a/scripts/create-release-tarball b/scripts/create-release-tarball index 9c4435e78..c16ffe7e3 100755 --- a/scripts/create-release-tarball +++ b/scripts/create-release-tarball @@ -41,8 +41,8 @@ if ! $(cd "${SOURCE_DIR}/../dashboard" && git diff --exit-code >/dev/null); then exit 1 fi -if [[ "$(node --version)" != "v16.13.1" ]]; then - echo "This script requires node 16.13.1" +if [[ "$(node --version)" != "v16.18.1" ]]; then + echo "This script requires node 16.18.1" exit 1 fi diff --git a/scripts/installer.sh b/scripts/installer.sh index 549a5278f..f47ad8bfb 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -114,14 +114,14 @@ elif [[ "${ubuntu_version}" == "18.04" ]]; then fi fi -readonly node_version=16.14.2 +readonly node_version=16.18.1 if ! which node 2>/dev/null || [[ "$(node --version)" != "v${node_version}" ]]; then log "installing/updating node ${node_version}" mkdir -p /usr/local/node-${node_version} $curl -sL https://nodejs.org/dist/v${node_version}/node-v${node_version}-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /usr/local/node-${node_version} ln -sf /usr/local/node-${node_version}/bin/node /usr/bin/node ln -sf /usr/local/node-${node_version}/bin/npm /usr/bin/npm - rm -rf /usr/local/node-16.13.1 + rm -rf /usr/local/node-16.14.2 fi # note that rebuild requires the above node