[Bug] No assistant message found after /clear command on old session

Resolved 💬 3 comments Opened Oct 24, 2025 by CoreyCole Closed Oct 28, 2025

Bug Description
on a old claude session after running /clear: This error originated either by throwing inside of an async function without a c
atch block, or by rejecting a promise which was not handled with .catch(). The p
romise rejected with the reason:
Error: No assistant message found
at Ud (file:///Users/coreycole/Library/Application%20Support/fnm/node-versio
ns/v22.20.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:3356:
12901)
at process.processTicksAndRejections (node:internal/process/task_queues:105:
5)
at async file:///Users/coreycole/Library/Application%20Support/fnm/node-vers
ions/v22.20.0/installation/lib/node_modules/@anthropic-ai/claude-code/cli.js:335
6:21948
at async nr1 (file:///Users/coreycole/Library/Application%20Support/fnm/node

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.26
  • Feedback ID: 24128751-099a-4c01-921a-31d652f06333

Errors

[]

View original on GitHub ↗

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