Unhandled EPIPE Error Causing CLI Crash During Task Execution

Resolved 💬 4 comments Opened Jul 18, 2025 by bkusy Closed Jul 18, 2025

Bug Description
claude auto-updated and now it crashes within the first few minutes for the tasks i give it. here is the error:\
\
node:events:497
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:95:16)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}\
\
i followed advise from Fin AI Agent: logged out, updated claude, restarted claude, re-authenticated, the error persits

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.55
  • Feedback ID: 7b2f3668-4b5c-484a-a764-a7dbac4c0093

View original on GitHub ↗

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