[BUG] TypeError: B.allowedTools is not iterable when launching from specific project directory

Resolved 💬 5 comments Opened Aug 16, 2025 by isc-terada Closed Jan 5, 2026

Description

Cannot launch Claude Code from a specific project directory, getting TypeError.

Error Message

file:///home/ubuntu/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:739
TypeError: B.allowedTools is not iterable
at Wq1 (file:///home/ubuntu/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:739:1373)

Environment

  • Claude Code version: 1.0.83
  • Node.js version: v22.16.0
  • OS: WSL2 Ubuntu
  • Project path: /mnt/d/myproject/myproject2/myproject3

Steps to Reproduce

  1. cd /mnt/d/myproject/myproject2/myproject3
  2. Run claude
  3. Error occurs immediately

Workaround

Launching from parent directory works:

  1. cd /mnt/d/myproject
  2. Run claude
  3. cd myproject2/myproject3

## Additional Information

  • Tried removing all .claude directory and settings files
  • Tried removing .mcp.json
  • Problem persists even with minimal settings.json

View original on GitHub ↗

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