[BUG] ERROR Cannot assign to read only property '0' of object '[object String]'
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
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/4010
- https://github.com/anthropics/claude-code/issues/14469
- https://github.com/anthropics/claude-code/issues/5560
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #4010.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.