The postinstall script extracts the executor binary using powershell.exe with Expand-Archive. On some Windows setups (even with PowerShell 7 installed), powershell.exe (Windows PowerShell 5.x) fails to autoload Microsoft.PowerShell.Archive:
Expand-Archive : The 'Expand-Archive' command was found in the module
'Microsoft.PowerShell.Archive', but the module could not be loaded.
Fix: try pwsh (PowerShell 7) first, fall back to powershell.exe. pwsh always has Expand-Archive available.
Fixed in: apps/cli/src/build.ts
Identified and fixed with AI assistance.
The postinstall script extracts the executor binary using
powershell.exewithExpand-Archive. On some Windows setups (even with PowerShell 7 installed),powershell.exe(Windows PowerShell 5.x) fails to autoloadMicrosoft.PowerShell.Archive:Fix: try
pwsh(PowerShell 7) first, fall back topowershell.exe.pwshalways hasExpand-Archiveavailable.Fixed in:
apps/cli/src/build.tsIdentified and fixed with AI assistance.