Skip to content

Crashes started appearing once this tool was added #11

@ahundt

Description

@ahundt

Great tool! useful status info, however it appears to be some crashes since I installed this on macos, here is the trace, it particularly happened when multiple parallel subtasks were running so I'm guessing it is a threading issue that could be resolved with simple mutex or file locks immediately, and could be done in a more advanced way with a better multi-process locking system to ensure different components don't run simultaneously (though it could also be another kind of bug):

``
TypeError: Cannot read properties of undefined (reading 'message')
at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:798
at Array.filter ()
at Object.renderToolUseProgressMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:763)
at Object.renderToolUseRejectedMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:2309)
at F_B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2417:2561)
at RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)
at Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)
at Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)
at YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)
at lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)

ERROR Cannot read properties of undefined (reading 'message')

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

  • (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:798)
  • at Array.filter (<anonymous>)
    

-Object.renderToolUseProgressMessage
(file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:763)

-Object.renderToolUseRejectedMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2475:230
9)

  • F_B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2417:2561)
  • RM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)
  • Tv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42847)
  • Rv (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38368)
  • YS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38296)
  • lM (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38150)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions