From 9cede8306abdb9afd02ed58089ac5cc7fb994278 Mon Sep 17 00:00:00 2001 From: Nick Poindexter Date: Wed, 5 Nov 2025 18:27:24 -0600 Subject: [PATCH] SERVER-113436: fix install of nodeJS 24 (#43615) GitOrigin-RevId: 31eb3e4699d45ae9cf22ef29b9ea014864485393 --- evergreen/streams_build_js_engine.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/evergreen/streams_build_js_engine.sh b/evergreen/streams_build_js_engine.sh index 72b2b73392d..717801d2ec5 100644 --- a/evergreen/streams_build_js_engine.sh +++ b/evergreen/streams_build_js_engine.sh @@ -81,8 +81,8 @@ install_nodejs() { log "Adding NodeSource repository via https://nodesource.com/products/distributions" wget -qO- "https://rpm.nodesource.com/setup_${NODE_VERSION}.x" | bash - - log "Installing Node.js and npm" - yum install -y nodejs npm + log "Installing Node.js (npm is included)" + yum install -y nodejs log "Cleaning up" yum clean all @@ -91,8 +91,8 @@ install_nodejs() { log "Adding NodeSource repository via https://nodesource.com/products/distributions" wget -qO- "https://rpm.nodesource.com/setup_${NODE_VERSION}.x" | bash - - log "Installing Node.js and npm" - dnf install -y nodejs npm + log "Installing Node.js (npm is included)" + dnf install -y nodejs log "Cleaning up" dnf clean all @@ -101,8 +101,8 @@ install_nodejs() { log "Adding NodeSource repository via https://nodesource.com/products/distributions" wget -qO- "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash - - log "Installing Node.js and npm" - apt-get install -y nodejs npm + log "Installing Node.js (npm is included)" + apt-get install -y nodejs log "Cleaning up" apt-get clean @@ -174,7 +174,7 @@ build_js_engine() { # Install dependencies log "Running npm ci to install dependencies..." - npm ci + npm ci --legacy-peer-deps # Build production output log "Running npm run build to create production output..."