[BUG] ERROR undefined is not an object (evaluating 'U.length')

Resolved 💬 4 comments Opened Feb 5, 2026 by ehsan Closed Feb 6, 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?

I had this conversation in a directory with claude code just now (this is from a new session with claude -r resuming the conversation)

<img width="931" height="1445" alt="Image" src="https://github.com/user-attachments/assets/8284da4d-4c97-48de-a313-8852df490e20" />

But in the original window I got this long JS error: https://gist.github.com/ehsan/35782c17b2aeabfcff6216923a23417b

Claude was in the background after I typed the last message so I didn't see exactly when it hit the bug.

What Should Happen?

Ideally no JS error :)

Error Messages/Logs

Steps to Reproduce

I am not sure if this can reproduce it but here is what I did:

  1. Go to a fresh checkout of my project
  2. Run claude v2.1.32.
  3. Accept the warning about trusting this project.
  4. Type this line how to enable using teams
  5. Type this line when it finished can you put it in my .claude/settings.local.json please? also set "teammateMode" to tmux

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.32

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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