[BUG] Claude code is crashing

Resolved 💬 7 comments Opened Jul 18, 2025 by MercerK Closed Jul 18, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [X] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.55 (Claude Code)
  • Operating System: MacOS 15.5
  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

When using claude code, it seems to crash constantly, making it unusable. When reverting back to 1.0.54, it works as expected, but it eventually updates to 1.0.55, continuing the crashes.

Steps to Reproduce

  1. Ask it to echo something
  2. Observe it crash

Expected Behavior

Should not crash

Actual Behavior

It crashes

╭─────────────────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code!                                       │
│                                                                 │
│   /help for help, /status for your current setup                │
│                                                                 │
│   cwd: [REDACTED]  │
╰─────────────────────────────────────────────────────────────────╯

 ※ Tip: Press Shift+Enter to send a multi-line message

> can you echo a cmd

⏺ Read([REDACTED])
  ⎿  Read 190 lines (ctrl+r to expand)

⏺ Bash(echo "Command manifest contains $(grep -c name [REDACTED]) CLI
      commands")
  ⎿  Running…

✽ Processing… (12s · ⚒ 70 tokens · esc to interrupt)

╭──────────────────────────────────────────────────────────────────────────────────╮
│ >                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────╯
  ? for shortcuts                                                                ◯



Total cost:            $0.0308
Total duration (API):  15.9s
Total duration (wall): 21s
Total code changes:    0 lines added, 0 lines removed
Usage by model:
    claude-3-5-haiku:  2.6k input, 46 output, 0 cache read, 0 cache write
   claude-3-7-sonnet:  10 input, 214 output, 28.9k cache read, 4.4k cache write
node:events:492
      throw er; // Unhandled 'error' event
      ^

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

Node.js v20.10.0

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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