[BUG] Cannot set properties of undefined (setting 'output_tokens')

Resolved 💬 2 comments Opened Apr 9, 2026 by almafazi Closed May 23, 2026

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?

Cannot set properties of undefined (setting 'output_tokens')

<img width="564" height="453" alt="Image" src="https://github.com/user-attachments/assets/0c2a4083-f5e4-4b98-a41b-c4937ac261d5" />

What Should Happen?

It shouldn't happen

Error Messages/Logs

Steps to Reproduce

i just type: hola on claude code then error happening

Claude Model

Other

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.97

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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