[BUG] Intermittent crashes on simple prompts

Resolved 💬 5 comments Opened Oct 22, 2025 by ajroetker Closed Dec 8, 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?

I keep having v2.0.25 crash on simple prompts (started today and I update every day). file:///<path>/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356
,isMeta:!0}),...A]}async function rbQ(A,B){if(Gv())return;let[{tools:Q},Z,G,Y]=await Promise.all([bd1(A),Aq(B),yV(),SV()]),J=Y.gitStatu...`

What Should Happen?

Should not crash

Error Messages/Logs

Error: No assistant message found
    at Dd (file:///Users/ajroetker/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:12905)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async file:///Users/ajroetker/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:21920
    at async Go0 (file:///Users/ajroetker/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:2011)
    at async yW (file:///Users/ajroetker/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:21776)
    at async s9B (file:///Users/ajroetker/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:3363:200)

Node.js v22.20.0

Steps to Reproduce

A few simple debugging prompts is where I've seen it but it's intemittent. What is the dir storybook-static/? Should it be in gitignore? was the latest.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.24

Claude Code Version

2.0.25

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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