Skip to content

esbuild.exe blocked by Windows security policy — no actionable error message #27

Description

@christopheranderson

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingissue-mappedIssue is mapped to internal trackertriaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions