From 56886bb0532dc6f32c6076523e2f8d84c69f3234 Mon Sep 17 00:00:00 2001 From: Jody V <25408202+JodyVanden@users.noreply.github.com> Date: Mon, 28 Sep 2026 07:38:40 +1000 Subject: [PATCH] fix(aurral): bump to Node 26 and bypass strict engine pin (#17543) * fix: bump aurral Node.js requirement from 22 to 26 Upstream aurral now requires Node 26.x (engines: "26.8.x" in v2.10.0), causing npm ci to fail with EBADENGINE when the install script sets up Node 22. Co-Authored-By: Claude Sonnet 5 * fix: bypass npm engine-strict check for aurral build aurral's .npmrc sets engine-strict=true and pins an exact node patch (26.8.x), which NodeSource can never satisfy since it only ships the latest patch per major (currently 26.10.0). Disable engine-strict for the build, matching the ignore-engines workaround already used for yarn-based apps in this repo (dashy, monica, excalidraw, elementsynapse). Co-Authored-By: Claude Sonnet 5 --------- Co-authored-by: Claude Sonnet 5 --- ct/aurral.sh | 5 ++++- install/aurral-install.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ct/aurral.sh b/ct/aurral.sh index 7cb7e9f97..7724d1090 100644 --- a/ct/aurral.sh +++ b/ct/aurral.sh @@ -38,13 +38,16 @@ function update_script() { msg_ok "Stopped Service" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "aurral" "lklynet/aurral" "tarball" - NODE_VERSION="22" setup_nodejs + NODE_VERSION="26" setup_nodejs msg_info "Updating Aurral" cd /opt/aurral export VITE_APP_VERSION="$(cat ~/.aurral)" export VITE_GITHUB_REPO="lklynet/aurral" export VITE_RELEASE_CHANNEL="stable" + # aurral's .npmrc sets engine-strict=true and pins an exact node patch (e.g. 26.8.x), + # which NodeSource can't match since it only ships the latest patch per major. + export npm_config_engine_strict=false $STD npm ci --workspace frontend --include-workspace-root=false $STD npm run build --workspace frontend $STD npm ci --workspace backend --omit=dev --include=optional --include-workspace-root=false diff --git a/install/aurral-install.sh b/install/aurral-install.sh index 3344f9ada..b780ef627 100644 --- a/install/aurral-install.sh +++ b/install/aurral-install.sh @@ -22,7 +22,7 @@ $STD apt install -y \ fonts-dejavu-core msg_ok "Installed Dependencies" -NODE_VERSION="22" setup_nodejs +NODE_VERSION="26" setup_nodejs fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp" fetch_and_deploy_gh_release "aurral" "lklynet/aurral" "tarball" @@ -32,6 +32,9 @@ cd /opt/aurral export VITE_APP_VERSION="$(cat ~/.aurral)" export VITE_GITHUB_REPO="lklynet/aurral" export VITE_RELEASE_CHANNEL="stable" +# aurral's .npmrc sets engine-strict=true and pins an exact node patch (e.g. 26.8.x), +# which NodeSource can't match since it only ships the latest patch per major. +export npm_config_engine_strict=false $STD npm ci --workspace frontend --include-workspace-root=false $STD npm run build --workspace frontend $STD npm ci --workspace backend --omit=dev --include=optional --include-workspace-root=false