From d8a252562d8f46c059a8ce6da53177bc8faa22f5 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 24 Jul 2026 16:23:17 +0200 Subject: [PATCH] fix(web): pin engines.node to 22.x so SWA/Oryx does not grab Node 24 The prior ">=22" made Oryx build with the highest available Node (24.13), which the Static Web Apps runtime rejects: "Node version 24.13.0 is not supported. Please use one of the following versions 18, 20, 22." Pin to 22.x so Oryx selects the SWA-supported major. CI setup-node '22' already resolves to latest 22.x, so build and deploy now agree. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/Web/autopilot-monitor-web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/autopilot-monitor-web/package.json b/src/Web/autopilot-monitor-web/package.json index fad0739b..99de6306 100644 --- a/src/Web/autopilot-monitor-web/package.json +++ b/src/Web/autopilot-monitor-web/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "engines": { - "node": ">=22" + "node": "22.x" }, "scripts": { "dev": "next dev",