[BUG] complete freeze sometimes when a task spins up nodejs

Resolved 💬 2 comments Opened Nov 28, 2025 by Trevoke Closed Nov 28, 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?

I'm working on creating a tree-sitter syntax, which requires running tests with npx (or cargo, but npx in my current case)

claude code froze with this type of command:

● Bash(npx tree-sitter generate 2>&1 | tail -2 && echo 'This is *bold*: yes.' | npx tree-sitter parse /dev/stdin 2>&1 | head -10)
  ⎿ Warning: No `tree-sitter.json` file found in your grammar, this file is required to generate with ABI 15. Using ABI version 14 instead.                                                                       
    This file can be set up with `tree-sitter init`. For more information, see https://tree-sitter.github.io/tree-sitter/cli/init.
    (node:1828353) ExperimentalWarning: CommonJS module /home/stag/.asdf/installs/nodejs/23.2.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /home/stag/.asdf/installs/nodejs/23.2.0/l
    … +10 lines (ctrl+o to expand)

<img width="2153" height="160" alt="Image" src="https://github.com/user-attachments/assets/52b6732a-f718-4c7c-b04f-c56dccb6b491" />

This is the third time this happens to me today in under half an hour -- other claude code sessions are unaffected; they do not run javascript commands (which I suspect is related, but not sure)

What Should Happen?

Claude Code.. doesn't become unresponsive?

Error Messages/Logs

N/A

Steps to Reproduce

Try to get claude code to get the tests to green here https://github.com/Trevoke/org-ts-mode

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.55 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Terminal is:

  1. vterm in claude-code-ide (emacs package)
  2. kitty outside of emacs

freeze noticed with both.

View original on GitHub ↗

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