[BUG] Error: ENOENT: no such file or directory, uv_cwd
Environment
- AWS Bedrock
- Claude CLI version: This also results in an error. I did see it auto-update recently so I assume the latest version.
- Operating System: aarch64 Fedora
- Terminal: Ghostty
Bug Description
Claude Code does not start up properly.
Steps to Reproduce
Just enter "claude" into terminal.
Expected Behavior
Claude Code starting normally.
Actual Behavior
node:internal/bootstrap/switches/does_own_process_state:142
cachedCwd = rawMethods.cwd();
^
Error: ENOENT: no such file or directory, uv_cwd
at wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:142:28)
at OoB (file:///home/user/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:34528)
at file:///home/user/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:35284
at ModuleJob.run (node:internal/modules/esm/module_job:329:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
errno: -2,
code: 'ENOENT',
syscall: 'uv_cwd'
}
Node.js v22.17.0
Additional Context
This is new. I didn't change anything; it was working fine earlier today.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗