claude-code - 💡(How to fix) Fix [Bug] Crashes with version 1.1.2 in tmux team workflow [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49683Fetched 2026-04-17 08:34:17
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4cross-referenced ×3commented ×1

Error Message

ERROR q.toolUseContext.getAppState is not a function

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description I use the team mate Tmux flow.And as soon as we went to 112, everything starts crashing.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.112
  • Feedback ID: 4ac2ee64-f0be-46f6-ae6c-ff9171fd3749

ITerm and then tmux tmux -CC

claude --dangerously-skip-permissions --teammate-mode tmux

Errors

[]

ERROR q.toolUseContext.getAppState is not a function

file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8493:15619

  • (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8493:15619)
  • S0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:63170)
  • G06 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76223)
  • yN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76103)
  • G06 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76202)
  • yN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76103)
  • G06 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76202)
  • yN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76103)
  • G06 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:77013)
  • yN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:551:76103)

extent analysis

TL;DR

The issue is likely caused by a compatibility problem between the updated Tmux version and the Claude code, and downgrading Tmux or updating Claude might resolve the issue.

Guidance

  • The error message q.toolUseContext.getAppState is not a function suggests that there is a problem with the getAppState function, which might be related to the update of Tmux to version 2.1.112.
  • To verify the issue, try running the command claude --dangerously-skip-permissions --teammate-mode tmux with a previous version of Tmux to see if the error persists.
  • Consider downgrading Tmux to a previous version or checking for updates to the Claude code that might address the compatibility issue.
  • If downgrading Tmux is not feasible, try to update the Claude code to the latest version to see if the issue is resolved.

Notes

The issue seems to be related to the update of Tmux, but without more information about the changes made in version 2.1.112, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Downgrade Tmux to a previous version until the compatibility issue is resolved by the Claude code developers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Crashes with version 1.1.2 in tmux team workflow [1 comments, 2 participants]