[BUG] Visualstudio code - Error: Claude Code process exited with code 3
Resolved 💬 18 comments Opened Oct 8, 2025 by sveinl Closed Nov 24, 2025
💡 Likely answer: A maintainer (blois, collaborator)
responded on this thread — see the highlighted reply below.
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?
After upgrading from API access to Pro-subscription vscode extension gives this error:
Error: Claude Code process exited with code 3
I have tried everything but nothing have solved the problem yet.
What Should Happen?
Claude code should prompt me for a message without the error code.
Error Messages/Logs
Claude Code stderr: ============================================================Bun v1.2.23 (cf136713) Windows x64 (baseline)Windows v.win11_dtCPU: sse42 avx avx2Args: "c:\Users\XXX\.vscode\extensions\anthropic.claude-code-2.0.10-win32-x64\resources\native-binary\claude.exe" "--output-format" "stream-json" "--verbose" "--input-format" "stream-json" "--append-system-prompt" "\n# VSCode"...Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) jsc spawn standalone_executable Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants" "node:crypto" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https" "node:module" "node:net" "node:os" "node:path" "node:path/win32" Claude Code stderr: "node:perf_hooks" "node:process" "node:querystring" "node:stream" "node:string_decoder" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:zlib" "undici" "ws" "node-fetch" "node:inspector" "node:http2" Elapsed: 370ms | User: 312ms | Sys: 93msRSS: Claude Code stderr: 0.44GB | Peak: 0.44GB | Commit: 0.58GB | Faults: 107670 | Machine: 68.45GBpanic(main thread): Unexpected errorENOTCONN: Transport endpoint is not connected (open())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: Claude Code stderr: https://bun.report/1.2.23/e_1cf13671Az//v//B+kjgXisjljB2wm7iB__0jg40CA0eNoLzUutKEhNLklNUUgtKsov4nL18w9x9vfzs1IIKUrMKy7ILypRSM1LKcjPzCtRyCxWyMsvUUjOz8uD6NHIL0jN09DUBACb+xkqClaude Code process exited with code 3
Steps to Reproduce
Just started vscode with an existing flutter app.
PS! This happened AFTER upgrading from API to PRO subscription.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.10
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This error started happening AFTER i upgraded from API (one time payment) to PRO subscription.
18 Comments
Selecting "Run claude in terminal" in settings works fine. But then i lose the ability to paste images etc. so would prefer using the extension one :)
---
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
---
I’m experiencing the same problem.
<img width="778" height="748" alt="Image" src="https://github.com/user-attachments/assets/3636b6db-d233-43cb-8c61-21e7b7d38ce4" />
<img width="604" height="602" alt="Image" src="https://github.com/user-attachments/assets/ffb51756-7c4d-4081-a97d-7b037e7d12f0" /> Yes, same... didnt find any other duplicates of this one.
Same thing for me there
Just upgraded claude code to 2.0.10, accepted new terms but can't using it with vs code and extension.
Works fine in terminal but not the most convenient.
I got the same issue, I was using the extension and then it froze and I got the error code. The terminal works fine. I tried uninstalling the extension and reinstalling, tried logging out and back into claude code, still doesn't work. I also tried restarting my pc and still nothing
I had the same issue. I just reverted to 2.0.9 to avoid this issue for now, hoping to revert soon.
I had the same issue.
This issue occurred after updating from 2.0.9 to 2.0.10.
I am currently using the CLI on the terminal.
<img width="322" height="512" alt="Image" src="https://github.com/user-attachments/assets/99b7aa96-d684-4f2a-944c-3730a37de6a8" />遇到同样的问题.希望早点解决
You can use alt+v to paste images into the terminal interface (using that for now to circumvert this bug and I need to paste alot of images)
<img width="952" height="1491" alt="Image" src="https://github.com/user-attachments/assets/6838d1f5-611f-4dcd-8a05-3ea68078576f" />
2025-10-09 18:49:35.474 [info] Launching Claude on channel: prkaen2fuob
2025-10-09 18:49:35.474 [info] Spawning Claude with SDK query function - cwd: d:\jobs2\wwwroot\korean, permission mode: default, version: 2.0.10, c:\Users\wymoon\.vscode\extensions\anthropic.claude-code-2.0.10-win32-x64\resources\native-binary\claude.exe, resume: undefined
2025-10-09 18:49:36.114 [info] Closing Claude on channel: prkaen2fuob
2025-10-09 18:49:36.114 [error] Error from Claude (on channel prkaen2fuob): Error: Claude Code process exited with code 3
I am getting the same error. & pro user
+1
Same error, environment Windows 11, Claude Code (Windows).
<img width="467" height="261" alt="Image" src="https://github.com/user-attachments/assets/f83b68de-e457-4686-9826-15271ff9e667" />
also
Hey guys, I found a solution. Roll back to version 2.0.9.
Close VCS.
Delete this folder:
C:\Users\user\\.vscode\extensions\anthropic.claude-code-2.0.10-win32-x64\
Then uninstall Claude npm (run cmd as administrator):
npm uninstall -g @anthropic-ai/claude-code
Next, install 2.0.9:
npm install -g @anthropic-ai/claude-code@2.0.9
Then, open Claude in the Plugins tab, click the gear next to install, and select version 2.0.9.
It should work.
ㅈ0.9 버전으로 롤백해 보세요.
I'm also using it like this temporarily.
This bug was fixed in Claude Code v2.0.28 (bun was updated to v1.3.1 which included the fix https://github.com/oven-sh/bun/commit/2c86fdb81899147c6b24a20a35458905ae5a8d9c)
This issue should be fixed on the latest builds.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.