Skip to content

[BUG] Visualstudio code - Error: Claude Code process exited with code 3 #9169

Description

@sveinl

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autharea:idebugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions