VSCode Extension
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
2026-03-18 15:52:49.825 [info] AuthManager initialized
2026-03-18 15:52:49.825 [info] Claude code extension is now active?
2026-03-18 15:52:49.825 [info] MCP Server running on port 17030 (localhost only)
2026-03-18 15:52:49.825 [info] Getting authentication status
2026-03-18 15:52:49.825 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.826 [info] AuthManager initialized
2026-03-18 15:52:49.826 [info] Received message from webview: {"type":"request","requestId":"6iq5riqlsxq","request":{"type":"init"}}
2026-03-18 15:52:49.826 [info] Getting authentication status
2026-03-18 15:52:49.826 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Getting authentication status
2026-03-18 15:52:49.838 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Received message from webview: {"type":"request","requestId":"dwp5fsd3ci","request":{"type":"get_claude_state"}}
2026-03-18 15:52:49.839 [info] Loading config cache by launching Claude...
2026-03-18 15:52:49.839 [error] Failed to load config cache: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [error] Error processing client request: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"ujlu8r3jc6c","request":{"type":"get_current_selection"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"y8f6q0pee2g","request":{"type":"get_asset_uris"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"x6rbyv1fjn","request":{"type":"list_sessions_request"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"launch_claude","channelId":"8l0qd18n2in","cwd":"c:\\Users\\Baluch\\load_test","model":"default","permissionMode":"default","thinkingLevel":"default_on"}
2026-03-18 15:52:49.839 [info] Launching Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [info] Closing Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [error] Error spawning Claude (on channel 8l0qd18n2in): Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"interrupt_claude","channelId":"dwp5fsd3ci"}
2026-03-18 15:52:49.839 [warning] Channel not found: dwp5fsd3ci
What Should Happen?
2026-03-18 15:52:49.825 [info] AuthManager initialized
2026-03-18 15:52:49.825 [info] Claude code extension is now active?
2026-03-18 15:52:49.825 [info] MCP Server running on port 17030 (localhost only)
2026-03-18 15:52:49.825 [info] Getting authentication status
2026-03-18 15:52:49.825 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.826 [info] AuthManager initialized
2026-03-18 15:52:49.826 [info] Received message from webview: {"type":"request","requestId":"6iq5riqlsxq","request":{"type":"init"}}
2026-03-18 15:52:49.826 [info] Getting authentication status
2026-03-18 15:52:49.826 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Getting authentication status
2026-03-18 15:52:49.838 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Received message from webview: {"type":"request","requestId":"dwp5fsd3ci","request":{"type":"get_claude_state"}}
2026-03-18 15:52:49.839 [info] Loading config cache by launching Claude...
2026-03-18 15:52:49.839 [error] Failed to load config cache: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [error] Error processing client request: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"ujlu8r3jc6c","request":{"type":"get_current_selection"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"y8f6q0pee2g","request":{"type":"get_asset_uris"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"x6rbyv1fjn","request":{"type":"list_sessions_request"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"launch_claude","channelId":"8l0qd18n2in","cwd":"c:\\Users\\Baluch\\load_test","model":"default","permissionMode":"default","thinkingLevel":"default_on"}
2026-03-18 15:52:49.839 [info] Launching Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [info] Closing Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [error] Error spawning Claude (on channel 8l0qd18n2in): Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"interrupt_claude","channelId":"dwp5fsd3ci"}
2026-03-18 15:52:49.839 [warning] Channel not found: dwp5fsd3ci
Error Messages/Logs
Steps to Reproduce
2026-03-18 15:52:49.825 [info] AuthManager initialized
2026-03-18 15:52:49.825 [info] Claude code extension is now active?
2026-03-18 15:52:49.825 [info] MCP Server running on port 17030 (localhost only)
2026-03-18 15:52:49.825 [info] Getting authentication status
2026-03-18 15:52:49.825 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.826 [info] AuthManager initialized
2026-03-18 15:52:49.826 [info] Received message from webview: {"type":"request","requestId":"6iq5riqlsxq","request":{"type":"init"}}
2026-03-18 15:52:49.826 [info] Getting authentication status
2026-03-18 15:52:49.826 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Getting authentication status
2026-03-18 15:52:49.838 [info] OAuth tokens found in secure storage
2026-03-18 15:52:49.838 [info] Received message from webview: {"type":"request","requestId":"dwp5fsd3ci","request":{"type":"get_claude_state"}}
2026-03-18 15:52:49.839 [info] Loading config cache by launching Claude...
2026-03-18 15:52:49.839 [error] Failed to load config cache: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [error] Error processing client request: Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"ujlu8r3jc6c","request":{"type":"get_current_selection"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"y8f6q0pee2g","request":{"type":"get_asset_uris"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"request","requestId":"x6rbyv1fjn","request":{"type":"list_sessions_request"}}
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"launch_claude","channelId":"8l0qd18n2in","cwd":"c:\\Users\\Baluch\\load_test","model":"default","permissionMode":"default","thinkingLevel":"default_on"}
2026-03-18 15:52:49.839 [info] Launching Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [info] Closing Claude on channel: 8l0qd18n2in
2026-03-18 15:52:49.839 [error] Error spawning Claude (on channel 8l0qd18n2in): Error: Claude Code on Windows requires git-bash (https://git-scm.com/downloads/win). If installed but not in PATH, set environment variable pointing to your bash.exe, similar to: CLAUDE_CODE_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
2026-03-18 15:52:49.839 [info] Received message from webview: {"type":"interrupt_claude","channelId":"dwp5fsd3ci"}
2026-03-18 15:52:49.839 [warning] Channel not found: dwp5fsd3ci
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.78
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗