[BUG] Claude Code VS Extension - Claude Code process exited with code 3, Bun
Resolved 💬 3 comments Opened Mar 18, 2026 by andrewgura Closed Mar 22, 2026
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?
This has been happening to me every day for a few weeks now. For hours each day, I cannot use Claude Code VS Extension because it is constantly giving me this error: "Claude Code process exited with code 3". It appears in fresh conversations and cannot do any prompts.
2026-03-18 18:29:54.545 [info] From claude: ============================================================
Bun v1.3.11 (a2743b6d) Windows x64 (baseline)
Windows v.win11_dt
CPU: sse42 avx avx2 avx512
Args: "c:\Users\Owner\.vscode\extensions\anthropic.claude-code-2.1.77-win32-x64\resources\native-binary\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--max-thinking-tokens" "31999" "--m"...
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(2) fetch(6) jsc spawn(10) standalone_executable
Builtins: "bun:main" "
2026-03-18 18:29:54.545 [info] From claude: node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/posix" "node:path/win32" "node:perf_hooks" "node:process" "node:stream" "node:stream/consumers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "undici" "ws" "node:http2"
Elapsed: 9538ms | User: 625ms | Sys: 328ms
RSS: 0.53GB | Peak: 0.53GB | Commit: 0.76GB | Faults: 133580 | Machine: 33.45GB
panic(thread 160308): Segmentation fault at address 0x3C
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.3.11/e_1a2743b6GuhogCCYnpggNT64.desy2TCYnpggNT64.desynouE__CYnpggNT64.desws0PCUUSER32.dllo6zvBCYnpggNT64.desgi6R____CYnpggNT64.desoqmWA2A4D
2026-03-18 18:29:54.598 [info] Closing Claude on channel: okx2j7bskrs
2026-03-18 18:29:54.598 [error] Error from Claude (on channel okx2j7bskrs): Error: Claude Code process exited with code 3
2026-03-18 18:32:25.673 [info] Received message from webview: {"type":"request","requestId":"99vbb2ryaz","request":{"type":"open_output_panel"}}
<img width="700" height="850" alt="Image" src="https://github.com/user-attachments/assets/dacc49d8-2ec5-497b-92d3-1bf96b4bd422" />
What Should Happen?
Claude code should work as expected
Error Messages/Logs
Steps to Reproduce
Open Claude Code extension in Visual Studio code, error appears right away
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.79
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗