[BUG] Claude can't Edit Files, Dir Problems, mkdir, Uses Shell and Python to edit

Resolved 💬 3 comments Opened Mar 6, 2026 by slack894 Closed Mar 10, 2026

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?

This started a few days ago. It gives me errors like this: "Error: EEXIST: file already exists, mkdir...".
It somehow can't edit files and therefore tries using bash, creating entire files new, Creating Python Scripts to edit files and more. It tells me that its due to Spaces in the Project Path but the Project didnt CHange.

This started a few days ago and got more. Now it says "Let me use a bash workaround with node.js to make the edits." in ALMOST EVERY MESSAGE.

This makes Claude Code Almost UNUSABLE.

pls fix. greetings.

What Should Happen?

It should just edit the files normally....

Error Messages/Logs

Update(HUMM_TR.csproj)
  ⎿  Error: EEXIST: file already exists, mkdir 'D:\Vincents Vault\Code\hummel_tr_new'

● The EEXIST error again with backslashes in the path. Let me use a bash workaround with node.js to make the edits.

● Bash(cd "D:/Vincents Vault/Code/hummel_tr_new" && node -e "
      const fs = require('fs');…)

Steps to Reproduce

Basically just edit Any File.
This Happens in multiple different Project Folders for me. Also in different Sessions. Sometimes it happens sometimes dont, seems totally random.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Version: 2.1.69

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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