[BUG] Claude crash when trying to edit a file on Windows inside of Cursor.
Resolved 💬 6 comments Opened Jul 17, 2025 by Tonycash667 Closed Jan 5, 2026
Environment
- Platform (select one):
- [# ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.53
- Operating System: Windows 11
- Terminal: Powershell inside cursor
Bug Description
Claude code is working well, until it have to edit a file, then it will crash, i tried many times but nothing changed.
● Read(src\app\dashboard\[userId]\brand-modules-library\components\LibraryPageLayout.tsx)
⎿ Read 32 lines (ctrl+r to expand)
● Update Todos
⎿ ☒ Analyze existing codebase structure and database schema
☒ Implement API route for user's section packs
☒ Create library page main component and layout
☐ Implement data fetching hooks (useLibraryData)
☐ Implement library actions hook (install functionality)
☐ Connect to Theme Enhancer for pack installation
☐ Create library UI components (Header, Grid, EmptyState)
☐ Implement filtering and search functionality
☐ Create pack detail modal and install panel
☐ Test the complete flow and fix any issues
● Now let me update the useLibraryData hook to use the correct API endpoint:
● Update(src\app\dashboard\[userId]\brand-modules-library\hooks\useLibraryData.ts)
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Opened changes in Cursor ⧉ │
│ Save file to continue… │
│ │
│ Do you want to make this edit to useLibraryData.ts? │
│ ❯ 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%5CDocuments%5CVarious%20work%5CX%5Csrc%5Capp%5Cdashboard%5C%5BuserId%5D%5Cbrand-modules-library%5Chooks%5CuseLibraryData.ts. Detail: Unable to resolve filesystem provider with relative file path '_claude_fs_right:c:\Users\X\Documents\Various work\X\src\app\dashboard\[userId]\brand-modules-library\hooks\useLibraryData.ts'
at Kc2 (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1248:14641)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async pD4 (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2611:11207)
at async J (file:///C:/Users/X/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2611:9917)
Node.js v22.16.0
Steps to Reproduce
Trying to make an edit in a file on windows inside of cursor.
Expected Behavior
Its supposed to edit the file
Actual Behavior
Claude crashed
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗