Dev Tools · 1h ago
Claude Code hooks silently fail on Windows with no error message
A developer discovered that Claude Code's SessionStart hook, which loads brand kits into context, works on macOS but silently fails on Windows. The hook command uses 'bash', which doesn't exist on Windows, causing it to never execute without any warning or error. The issue highlights a cross-platform compatibility gap in Claude Code's hook system.
Meridian48 take
The silent failure mode is worse than the bug itself—developers lose time debugging phantom issues when tools don't surface platform-specific errors.
Read the full reporting
Your Claude Code hook doesn't fire on Windows, and nothing tells you why →
DEV Community
claude-codecross-platform-bug