[BUG] npx nx Bash commands hang when sandbox is enabled

Resolved 💬 2 comments Opened Dec 17, 2025 by tylerkahn Closed Dec 17, 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?

Config: .claude/settings.local.json

{
  "sandbox": {
    "enabled": true
  }
}

Behavior: npx nx commands hang indefinitely.

What Should Happen?

Commands execute normally as they do with sandbox disabled.

Error Messages/Logs

Steps to Reproduce

  1. enable sandbox
  2. run claude
  3. tell it to run npx nx show projects
  4. Bash(npx nx show projects) never finishes running, just hangs

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

v2.0.71

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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