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

Resolved 💬 3 comments Opened Dec 23, 2025 by jgrichardson Closed Dec 27, 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?

When I try to start claude code, I get the error ERROR Cannot assign to read only property '0' of object '[object String]'

claude --version
2.0.76 (Claude Code)

node --version
v20.19.6

macOS 26.1 (25B78)

iTerm2 Build 3.6.6

What Should Happen?

Claude Code should run.

Error Messages/Logs

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

Steps to Reproduce

type claude

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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