From 4572dbf0901489af154c8161ffc80556a348e0c8 Mon Sep 17 00:00:00 2001 From: Gille <4317663+helix4u@users.noreply.github.com> Date: Sat, 8 Aug 2026 15:45:47 -0600 Subject: [PATCH] fix(install): preserve Node PATH readiness guard --- scripts/install.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 06d9dd6727..2347310ec7 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -1676,12 +1676,13 @@ function Test-SystemNodeReady { if (-not (Get-Command node -ErrorAction SilentlyContinue)) { return $false } $version = node --version - if (-not (Test-NodeVersionOk $version)) { + if (Test-NodeVersionOk $version) { + Ensure-NodeExeOnPath | Out-Null + } else { Write-Warn "Node.js $version is too old (Hermes requires Node >=22.22.0)" return $false } - Ensure-NodeExeOnPath | Out-Null $npmRange = Get-NpmRange $npmCmd = Get-Command npm.cmd -ErrorAction SilentlyContinue if (-not $npmCmd) {