[Bug] 2.1.69 TUI hangs on Windows due to config directory creation failure (EEXIST)
Status Fixed / completed
Reported on v2.1.69
Maintainer reply None cached
Activity 3 comments · opened Mar 5, 2026 · closed Mar 5, 2026
Bug Description
Version 2.1.69 TUI hangs on Windows (blank screen after launch)
--print mode works fine
2.1.68 works fine via Node
Error in debug log: EEXIST: file already exists, mkdir 'C:\Users\id' (the HOME/config write regression)
Windows 11, Windows Terminal, PowerShell 7.5.4
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.69
- Feedback ID: d79415be-8e86-40f2-b415-868eabeb9079
Errors
[{"error":"AxiosError: timeout of 5000ms exceeded\n at nT.<anonymous> (file:///C:/Users/id/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:91:10353)\n at nT.emit (node:events:518:28)\n at Timeout.<anonymous> (file:///C:/Users/id/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:90:5608)\n at listOnTimeout (node:internal/timers:594:17)\n at process.processTimers (node:internal/timers:529:7)\n at uy6.request (file:///C:/Users/id/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:93:2132)\n at async p_8 (file:///C:/Users/id/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:732:20523)","timestamp":"2026-03-05T03:30:14.876Z"},{"error":"ST1: Failed to install new version of claude: npm warn cleanup Failed to remove some directories [\nnpm warn cleanup [\nnpm warn cleanup 'C:\\\\Users\\\\id\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\@anthropic-ai\\\\claude-code',\nnpm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\\Users\\id\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\vendor\\ripgrep\\x64-linux'] {\nnpm warn cleanup errno: -4048,\nnpm warn cleanup code: 'EPERM',\nnpm warn cleanup syscall: 'rmdir',\nnpm warn cleanup path: 'C:\\\\Users\\\\id\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\@anthropic-ai\\\\claude-code\\\\vendor\\\\ripgrep\\\\x64-linux'\nnpm warn cleanup }\nnpm warn cleanup ]\nnpm warn cleanup ]\nnpm error code ECONNRESET\nnpm error syscall read\nnpm error errno -4077\nnpm error network read ECONNRESET\nnpm error network This is a problem related to network connectivity.\nnpm error network In most cases you are behind a proxy or have bad network settings.\nnpm error network\nnpm error network If you are behind a proxy, please make sure that the\nnpm error network 'proxy' config is set properly. See: 'npm help config'\nnpm error A complete log of this run can be found in: C:\\Users\\id\\AppData\\Local\\npm-cache\\_logs\\2026-03-05T03_29_56_691Z-debug-0.log\n at ad6 (file:///C:/Users/jid/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2510:834)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///C:/Users/jid/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:12614:4008","timestamp":"2026-03-05T03:30:31.719Z"}]
3 Comments
+1, can reproduce. I fixed this on Windows by rolling back to 2.1.68:
PWSH> & ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 2.1.68
And added
"DISABLE_AUTOUPDATER": "1",to the env block in Claude's settings.json.Same for me, can't solve by the solution provided here
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.