Context
Split from #24 (sub-issue 1 of 4).
Problem
When scaffolding on Windows, esbuild.exe is blocked by local security policy with no clear error message guiding the user to a workaround. Switching to WSL resolves the issue immediately.
Expected Behavior
The CLI should detect when esbuild.exe fails to execute due to a policy block and surface a user-friendly error message with suggested workarounds (e.g., use WSL, unblock the binary via PowerShell Unblock-File, or adjust execution policy).
Suggested Fix
- Catch the specific error from
esbuild.exe execution failure
- Display a clear message: "esbuild.exe was blocked by your system's security policy. Try running in WSL, or unblock the file with
Unblock-File"
- Add a note in the Getting Started docs about this Windows-specific issue
Context
Split from #24 (sub-issue 1 of 4).
Problem
When scaffolding on Windows,
esbuild.exeis blocked by local security policy with no clear error message guiding the user to a workaround. Switching to WSL resolves the issue immediately.Expected Behavior
The CLI should detect when
esbuild.exefails to execute due to a policy block and surface a user-friendly error message with suggested workarounds (e.g., use WSL, unblock the binary via PowerShellUnblock-File, or adjust execution policy).Suggested Fix
esbuild.exeexecution failureUnblock-File"