[Bug] Claude Code spawns 3 blank windows on Windows VS Code startup

Resolved 💬 4 comments Opened Feb 6, 2026 by nsingxia-png Closed Feb 10, 2026

Bug Description
Bug description
When executing Claude Code in VS Code on Windows, 3 blank/empty windows pop up every time. On another Windows machine
with the same environment (same Node, Claude Code, and VS Code versions), this issue does not occur.

Environment

  • OS: Windows
  • Node.js: v24.13.0
  • Claude Code: 2.1.34
  • VS Code: (请补充版本号)
  • Claude Code VS Code Extension: (请补充版本号)

Steps to reproduce

  1. Open VS Code on Windows
  2. Launch Claude Code
  3. 3 blank windows appear

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.34
  • Feedback ID: 164448f4-9d23-4381-ac64-9b2d948b2291

Errors

[{"error":"AxiosError: Request failed with status code 400\n    at Jx (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:25:1138)\n    at IncomingMessage.<anonymous> (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:30:9813)\n    at IncomingMessage.emit (node:events:520:35)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)\n    at rV1.request (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:32:2132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Zw1 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:109:3132)\n    at async Yw8 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:109:7796)","timestamp":"2026-02-06T16:45:57.658Z"},{"error":"Error: Client network socket disconnected before secure TLS connection was established\n    at Tz1.from (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:12:64207)\n    at Of.<anonymous> (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:30:9973)\n    at Of.emit (node:events:508:28)\n    at IR6.<computed> (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:29:1120)\n    at ClientRequest.emit (node:events:508:28)\n    at emitErrorEvent (node:_http_client:108:11)\n    at TLSSocket.socketErrorListener (node:_http_client:575:5)\n    at TLSSocket.emit (node:events:508:28)\n    at emitErrorNT (node:internal/streams/destroy:170:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n    at rV1.request (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:32:2132)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async JJ6 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1938:1762)\n    at async ZM1 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1938:1986)\n    at async Promise.all (index 0)\n    at async file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4222:13376","timestamp":"2026-02-06T16:46:00.796Z"},{"error":"Error: Request was aborted.\n    at oY6 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:886:99534)\n    at oY6.next (<anonymous>)\n    at qHq (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5755:4407)\n    at qHq.next (<anonymous>)\n    at YHq (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5760:7371)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5755:3887\n    at async MHA (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:936:2007)\n    at async mW1 (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:5755:3857)\n    at async EZ (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3529:8938)","timestamp":"2026-02-06T16:49:16.953Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNRESET, Client network socket disconnected before secure TLS connection was established)\n    at MWA.queueFailedEvents (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1935:2315)\n    at async MWA.doExport (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1935:1197)","timestamp":"2026-02-06T16:51:20.909Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 1 events (code=ECONNRESET, Client network socket disconnected before secure TLS connection was established)\\n    at MWA.doExport (file:///C:/Users/nsing/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-co…

Note: Content was truncated.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗