[BUG] File creation/editing operations fail silently - Write/Edit tools timeout, bash file creation appears successful but files don't exist
● Environment
- Platform (select one):
- Anthropic API
- AWS Bedrock
- Google Vertex AI
- Other: Claude Code/Ubuntu 24.04.2 LTS
- Claude CLI version: 1.0.43
- Operating System: Linux (Ubuntu/Debian based, kernel 6.8.0-63-generic)
- Terminal: vscode/bash
Bug Description
File creation and editing operations fail completely. The Write/Edit tools timeout after 1000ms, and bash file creation commands appear to succeed but no files are actually created on the filesystem.
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^
Error: Timeout waiting after 1000ms
at zN2 (file:///home/username/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1385:12840)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async cL6 (file:///home/username/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1961:11737)
at async C (file:///home/username/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1961:10591)
Node.js v22.17.0
Steps to Reproduce
- Run claude to start interactive session
- Ask Claude to create any file (e.g., "create a file called test.ipynb")
- Write tool shows VS Code integration prompt, then times out with: Error: Timeout waiting after 1000ms
- Try alternative bash commands like cat > file.txt, touch file.txt, or echo > file.txt
- Commands appear to succeed but ls shows no files were created
Expected Behavior
Files should be created either through Write/Edit tools or bash commands, and should be visible in the filesystem.
Actual Behavior
- Write/Edit tools timeout with error at zN2 (file:///.../@anthropic-ai/claude-code/cli.js:1385:12840)
- Bash file creation commands return success but no files exist on disk
- File existence checks (ls, find, [ -f file ]) confirm files don't exist
Additional Context
- Node.js version: v22.17.0
- VS Code integration enabled with /ide command
- Working directory: /home/username/dev/schedule_code
- All file operations fail regardless of file type (.ipynb, .txt, .py, etc.) / can chat not edit files or perform basic commands
- Complete reinstall several times, switched from work around for npm -g to normal and back again.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗