[BUG] Claude code Error: write EPIPE in visual studio code

Resolved 💬 3 comments Opened Nov 14, 2025 by avasquezkudaw Closed Nov 18, 2025

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?

When I start Claude Code and type an instruction (in the Visual Studio Code WSL terminal), it immediately fails with the error.

What Should Happen?

Claude should answer

Error Messages/Logs

▐▛███▜▌   Claude Code v2.0.37
▝▜█████▛▘  Sonnet 4.5 · Claude API
  ▘▘ ▝▝    /home/avasquez/github/KUDAW-claude-marketplace

> commit 

· Brewing… (esc to interrupt)

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>  
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ? for shortcuts                                                                                                                 Thinking off (tab to toggle)
Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:159:15)
    at writeGeneric (node:internal/stream_base_commons:150:3)
    at Socket._writeGeneric (node:net:966:11)
    at Socket._write (node:net:978:8)
    at writeOrBuffer (node:internal/streams/writable:572:12)

Steps to Reproduce

claude

commit

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.37

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

<img width="457" height="348" alt="Image" src="https://github.com/user-attachments/assets/c763cbbd-29cf-46e2-b32f-00b81a5892a9" />

also in terminal (wsl)

I'm using marketplace and plugins

View original on GitHub ↗

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