[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.

View original on GitHub ↗

18 Comments

sveinl · 9 months ago

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 :)

github-actions[bot] · 9 months ago

---

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/9060

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

---

Fabio-Vision · 9 months ago

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" />

sveinl · 9 months ago

<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.

B4b0u · 9 months ago

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.

LiamWildDev · 9 months ago

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

jingyu233 · 9 months ago

I had the same issue. I just reverted to 2.0.9 to avoid this issue for now, hoping to revert soon.

ucuc · 9 months ago

I had the same issue.

2025-10-09 15:10:42.573 [info] Launching Claude on channel: ******
2025-10-09 15:10:42.573 [info] Spawning Claude with SDK query function - cwd: [PATH], permission mode: default, version: 2.0.10, [EXTENSION_PATH]\claude.exe, resume: undefined
2025-10-09 15:10:43.009 [info] Closing Claude on channel: ******
2025-10-09 15:10:43.009 [error] Error from Claude (on channel ******): Error: Claude Code process exited with code 3

This issue occurred after updating from 2.0.9 to 2.0.10.
I am currently using the CLI on the terminal.

jinganqian1 · 9 months ago

<img width="322" height="512" alt="Image" src="https://github.com/user-attachments/assets/99b7aa96-d684-4f2a-944c-3730a37de6a8" />遇到同样的问题.希望早点解决

AmOfsi · 9 months ago
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 :)

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)

bluetsys · 9 months ago

<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

pasit65 · 9 months ago

+1

Same error, environment Windows 11, Claude Code (Windows).

ringoway · 9 months ago

<img width="467" height="261" alt="Image" src="https://github.com/user-attachments/assets/f83b68de-e457-4686-9826-15271ff9e667" />
also

ringoway · 9 months ago

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.

bluetsys · 9 months ago
안녕하세요 여러분, 해결책을 찾았습니다. 2.0.9 버전으로 롤백해 보세요. VCS를 닫습니다. 다음 폴더를 삭제합니다. C:\Users\user\.vscode\extensions\anthropic.claude-code-2.0.10-win32-x64 그런 다음 Claude npm을 제거합니다(cmd를 관리자 권한으로 실행): npm uninstall -g @anthropic-ai/claude-code 다음으로, 2.0.9를 설치합니다: npm install -g @anthropic-ai/claude-code@2.0.9 그런 다음 플러그인 탭에서 Claude를 열고 설치 옆에 있는 기어를 클릭한 다음 버전 2.0.9를 선택합니다. 작동할 겁니다.

ㅈ0.9 버전으로 롤백해 보세요.

VCS를 닫습니다. 다음 폴더를 삭제합니다. C:\Users\user\.vscode\extensions\anthropic.claude-code-2.0.10-win32-x64 그런 다음 Claude npm을 제거합니다(cmd를 관리자 권한으로 실행): npm uninstall -g @anthropic-ai/claude-code 다음으로, 2.0.9를 설치합니다: npm install -g @anthropic-ai/claude-code@2.0.9 그런 다음 플러그인 탭에서 Claude를 열고 설치 옆에 있는 기어를 클릭한 다음 버전 2.0.9를 선택합니다. 작동할 겁니다.

I'm also using it like this temporarily.

dylan-conway · 8 months ago

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)

blois collaborator · 7 months ago

This issue should be fixed on the latest builds.

github-actions[bot] · 7 months ago

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.