Claude crashes when trying to edit/open files on Windows
Environment
- Platform (select one):
- [# ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.51
- Operating System: Windows 11
- Terminal: Terminal App
Bug Description
When trying to edit a file, claude crashes. the error states: Unable to resolve filesystem provider with relative file path
This is everytime it tries, to read a file before editing.
Expected Behavior
It opens and edits without crashing.
Actual Behavior
The whole nodejs application fails and dies
Additional Context (Console log):
● Perfect! I can see you have a basic .NET 9 Blazor project structure already. Let me add the necessary NuGet packages and update the project for our note-taking app with Azure Speech SDK and Markdown support.
● Update(NoteApp\NoteApp.csproj)
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Opened changes in Visual Studio Code ⧉ │
│ Save file to continue… │
│ │
│ Do you want to make this edit to NoteApp.csproj? │
│ ❯ 1. Yes │
│ 2. Yes, and don't ask again this session (shift+tab) │
│ 3. No, and tell Claude what to do differently (esc) │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^
Error: cannot open _claude_fs_right:c%3A%5CUsers%5CX%5CDesktop%5CNy%20mappe%20%282%29%5CNoteApp%5CNoteApp.csproj. Detail: Unable to resolve filesystem provider with relative file path '_claude_fs_right:c:\Users\X\Desktop\Ny mappe (2)\NoteApp\NoteApp.csproj'
at Uq2 (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1383:14523)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async iR6 (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1969:12396)
at async J (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1969:11106)
Node.js v22.11.0
PS C:\Users\X\Desktop\Ny mappe (2)>
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗