[BUG] claudecount_tokens.js: command not found

Resolved 💬 3 comments Opened Aug 4, 2025 by iangithub Closed Aug 15, 2025

Environment

  • Platform (select one):
  • [v] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.67 (Claude Code)
  • Operating System: Windows 11
  • Terminal: windows terminal / powershell

Bug Description

The Claude Code CLI always shows: “failed with non-blocking status code 127: /usr/bin/bash: line 1: C:Usersianchen.claudecount_tokens.js: command not found”. I think this happens because Windows uses backslashes (\\) instead of forward slashes (/).

Steps to Reproduce

  1. <!-- First step -->
  2. <!-- Second step -->
  3. <!-- And so on... -->

Expected Behavior

<!-- What you expected to happen -->

Actual Behavior

<!-- What actually happened -->

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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