v2.1.2 - Installer no longer aborts on npm warnings
Patch release: fixes the Windows installer aborting on a harmless npm warning (reported by an installing user).
Fixed
- Windows installer no longer aborts on a non-fatal npm warning. With
$ErrorActionPreference = "Stop", PowerShell 5.1 turns a native command's stderr (piped2>&1 | Out-Null) into a terminatingNativeCommandError. So annpm warn deprecated prebuild-install@7.1.3duringnpm install -g comfyui-mcpaborted the whole install.shared/install_shared.ps1now runs npm / git / python through aNativehelper that sets$ErrorActionPreferencetoContinuefor the call and gates success on the real exit code (genuine failures still stop the install), and passes npm--loglevel=error. - Reproduced on PowerShell 5.1 (
& ... 1>&2 ... 2>&1 | Out-Nullunder Stop threwNativeCommandError) and confirmed the fix tolerates the warning while still catching a non-zero exit.