Bug Report: Windows Path Parsing Error

Resolved 💬 5 comments Opened Aug 31, 2025 by briants-code Closed Jan 5, 2026

Description:
Claude Code fails to start on Windows with incorrect path parsing, converting C:\dev to C:\c\dev and looking for
non-existent paths.

Environment:

  • OS: Windows (Git Bash/MSYS environment)
  • Node.js: v20.17.0
  • npm: 10.8.2
  • Claude Code version: 1.0.98
  • Working directory: C:\dev

Error Output:
C:\dev>npx @anthropic-ai/claude-code
Path C:\c\dev\src-tauri was not found.
Path C:\c was not found.
Error: Input must be provided either through stdin or as a prompt argument when using --print

Steps to Reproduce:

  1. Open Command Prompt or Git Bash on Windows
  2. Navigate to C:\dev directory
  3. Run npx @anthropic-ai/claude-code
  4. Observe the path parsing error

Expected Behavior:
Claude Code should correctly parse Windows paths and start normally.

Actual Behavior:
Claude Code incorrectly transforms C:\dev to C:\c\dev and fails to find the directory.

Additional Notes:

  • The issue appears to be in Windows drive letter parsing
  • Workaround: Use the web version at https://claude.ai/code
  • Problem persists with both npx and globally installed versions

View original on GitHub ↗

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