[BUG] ERROR Cannot assign to read only property '0' of object '[object String]'

Resolved 💬 4 comments Opened Dec 18, 2025 by mazin01 Closed Feb 14, 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?

the session gave me the new usage limit / command thing, i selected the first option then sent a new message, it kept working but keeps printing the usage limit command between messages and tool calls
eventually i stoped it then tried again it didnt work, then i exited the session and tried to start a new session with cladude command but i got this error

What Should Happen?

it should ether tell me that the rate limits are exceeded or start a new chat

Error Messages/Logs

> claude   

  ERROR  Cannot assign to read only property '0' of object '[object String]'

 file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:12:1257

 - uq9 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:12:1257)
 - IN9 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:12:3539)
 - JD8 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:201:9580)
 - ED8 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:201:10371)
 -  (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3640:641)
 -     at Array.forEach (<anonymous>)
 - C67 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3640:162)
 -  (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3640:1066)
 -     at Array.map (<anonymous>)
 - nH1 (file:///C:/Users/ME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3640:917)

Steps to Reproduce

Run claude

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.72

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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