GitHub CLI Interaction Fails with EPIPE Write Error

Resolved 💬 3 comments Opened Jul 18, 2025 by jggonz Closed Aug 19, 2025

Bug Description
Asking claude code to run gh, the github CLI, exits with an error: Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.55
  • Feedback ID: 93f319a3-f192-4d2b-a4dd-2e2e7e8a007a

Errors

node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v22.14.0

View original on GitHub ↗

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