[BUG] 2.1.69 hangs on Windows after "Yes, I trust this folder" — EEXIST lock path error

Resolved 💬 9 comments Opened Mar 5, 2026 by jpardeck Closed Apr 2, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code version: 2.1.69 (broken), 2.1.64 (working)
OS: Windows 11, native (not WSL)
Terminal: PowerShell / Command Prompt

Bug Description

After selecting "Yes, I trust this folder" on startup, Claude Code hangs indefinitely with no error shown. Ctrl+C kills the process but it hangs again on every subsequent restart. Affects every directory.

Root Cause (from debug log)

The config lock mechanism is trying to mkdir 'C:\Users\jon.pardeck' (the user home directory itself), which already exists, causing a silent EEXIST error loop. The error repeats dozens of times with no message surfaced to the user — the UI just freezes.

[ERROR] Failed to save config with lock: Error: EEXIST: file already exists, mkdir 'C:\Users\jon.pardeck'

Stack trace from ~/.claude/debug/latest:

Error: EEXIST: file already exists, mkdir 'C:\Users\jon.pardeck'
    at mkdirSync (unknown)
    at mkdirSync (B:/~BUN/root/src/entrypoints/cli.js:12:3048)
    at d38 (B:/~BUN/root/src/entrypoints/cli.js:6483:5856)
    at IA (B:/~BUN/root/src/entrypoints/cli.js:6483:4432)
    at CnA (B:/~BUN/root/src/entrypoints/cli.js:4296:584)

Workaround

The npm-installed version at %APPDATA%\Roaming\npm\claude (2.1.64) works correctly. The native installer binary at %USERPROFILE%\.local\bin\claude.exe (2.1.69) is the broken one. Downgrading via npm and ensuring it takes PATH priority resolves the hang.

npm install -g @anthropic-ai/claude-code@2.1.64

Steps to Reproduce

  1. Install Claude Code 2.1.69 via native installer on Windows
  2. Run claude in any directory
  3. Select "Yes, I trust this folder"
  4. Claude Code hangs — no prompt appears, no error shown, process must be killed

What Should Happen?

It should start

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code 2.1.69 via native installer on Windows
  2. Run claude in any directory
  3. Select "Yes, I trust this folder"
  4. Claude Code hangs — no prompt appears, no error shown, process must be killed

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.64

Claude Code Version

2.1.69

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗