claude-code - 💡(How to fix) Fix [BUG] Windows 10: "Interrupted" error on every restart - Cannot read properties of null (reading 'effortLevel')

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

2026-05-12T17:03:52.650Z [DEBUG] Watching for changes in setting files C:\Users\cato.claude, C:\Users\cato.claude... 2026-05-12T17:03:52.792Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe" 2026-05-12T17:03:52.933Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called 2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending 2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1) 2026-05-12T17:03:52.975Z [DEBUG] LSP server manager initialized successfully 2026-05-12T17:03:52.976Z [DEBUG] LSP notification handlers registered successfully for all 0 server(s) 2026-05-12T17:03:52.977Z [DEBUG] Found 0 plugins (0 enabled, 0 disabled) 2026-05-12T17:03:53.000Z [DEBUG] Stats cache does not exist, returning empty cache 2026-05-12T17:03:53.001Z [DEBUG] Stats cache empty, processing all historical data in background 2026-05-12T17:03:53.007Z [DEBUG] Plugin autoupdate: skipped (auto-updater disabled) 2026-05-12T17:03:53.032Z [DEBUG] Loading skills from: managed=C:\ProgramData\ClaudeCode.claude\skills, user=C:\Users\cato.claude\skills, project=[] 2026-05-12T17:03:53.545Z [DEBUG] [SLOW OPERATION DETECTED] execSyncWithDefaults_DEPRECATED (474.1ms): tasklist | findstr /I "Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phps 2026-05-12T17:03:53.552Z [DEBUG] installed_plugins.json doesn't exist, returning empty V2 object 2026-05-12T17:03:53.652Z [DEBUG] Creating shell snapshot for bash (C:\Program Files\Git\bin\bash.exe) 2026-05-12T17:03:53.653Z [DEBUG] Looking for shell config file: C:\Users\cato.bashrc 2026-05-12T17:03:53.653Z [DEBUG] Shell config file not found: C:\Users\cato.bashrc, creating snapshot with Claude Code defaults only 2026-05-12T17:03:53.653Z [DEBUG] Snapshots directory: C:\Users\cato.claude\shell-snapshots 2026-05-12T17:03:53.694Z [DEBUG] Creating snapshot at: C:\Users\cato.claude\shell-snapshots\snapshot-bash-1778605433653-fpbi2b.sh 2026-05-12T17:03:53.694Z [DEBUG] Shell binary exists: true 2026-05-12T17:03:53.695Z [DEBUG] Execution timeout: 10000ms 2026-05-12T17:03:53.705Z [DEBUG] Writing to temp file: C:\Users\cato.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705 2026-05-12T17:03:53.712Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (5.8ms) 2026-05-12T17:03:53.712Z [DEBUG] Temp file written successfully, size: 2 bytes 2026-05-12T17:03:53.712Z [DEBUG] Renaming C:\Users\cato.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705 to C:\Users\cato.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json 2026-05-12T17:03:53.714Z [DEBUG] File C:\Users\cato.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json written atomically 2026-05-12T17:03:53.768Z [DEBUG] getPluginSkills: Processing 0 enabled plugins 2026-05-12T17:03:53.768Z [DEBUG] Total plugin skills loaded: 0 2026-05-12T17:03:53.768Z [DEBUG] Total plugin commands loaded: 0 2026-05-12T17:03:53.769Z [DEBUG] Registered 0 hooks from 0 plugins 2026-05-12T17:03:53.893Z [DEBUG] Total plugin agents loaded: 0 2026-05-12T17:03:53.894Z [DEBUG] Loaded 0 unique skills (managed: 0, user: 0, project: 0, legacy commands: 0) 2026-05-12T17:03:53.894Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills 2026-05-12T17:03:53.926Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (21.7ms) 2026-05-12T17:03:54.056Z [DEBUG] Git remote URL: null 2026-05-12T17:03:54.056Z [DEBUG] No git remote URL found 2026-05-12T17:03:54.056Z [DEBUG] Not in a GitHub repository, skipping path mapping update 2026-05-12T17:03:54.834Z [DEBUG] Shell snapshot created successfully (341 bytes) 2026-05-12T17:03:56.465Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.2ms) 2026-05-12T17:03:56.633Z [DEBUG] [SLOW OPERATION DETECTED] fs.copyFileSync (7.0ms) 2026-05-12T17:03:56.637Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605436637 2026-05-12T17:03:56.637Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:03:56.645Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms) 2026-05-12T17:03:56.645Z [DEBUG] Temp file written successfully, size: 301477 bytes 2026-05-12T17:03:56.645Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:03:56.645Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605436637 to C:\Users\cato.claude.json 2026-05-12T17:03:56.656Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.3ms) 2026-05-12T17:03:56.656Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:03:56.666Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.3ms) 2026-05-12T17:03:57.192Z [DEBUG] Initialized versioned plugins system with 0 plugins 2026-05-12T17:03:57.219Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605437219 2026-05-12T17:03:57.220Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:03:57.228Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.3ms) 2026-05-12T17:03:57.228Z [DEBUG] Temp file written successfully, size: 301477 bytes 2026-05-12T17:03:57.228Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:03:57.228Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605437219 to C:\Users\cato.claude.json 2026-05-12T17:03:57.235Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.1ms) 2026-05-12T17:03:57.236Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:03:57.278Z [DEBUG] Skipping SessionStart:startup hook execution - workspace trust not accepted 2026-05-12T17:03:57.309Z [DEBUG] Skills and commands included in Skill tool: 2026-05-12T17:03:57.426Z [DEBUG] Skipping SubagentStart:Explore hook execution - workspace trust not accepted 2026-05-12T17:03:57.476Z [DEBUG] Skipping SubagentStart:Plan hook execution - workspace trust not accepted 2026-05-12T17:03:57.726Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605437726 2026-05-12T17:03:57.726Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:03:57.740Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (13.1ms) 2026-05-12T17:03:57.740Z [DEBUG] Temp file written successfully, size: 301401 bytes 2026-05-12T17:03:57.740Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:03:57.740Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605437726 to C:\Users\cato.claude.json 2026-05-12T17:03:57.751Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.9ms) 2026-05-12T17:03:57.752Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:03:57.788Z [DEBUG] Official marketplace auto-install skipped: unknown 2026-05-12T17:03:57.790Z [DEBUG] performStartupChecks called 2026-05-12T17:03:57.795Z [DEBUG] Trust not accepted for current directory - skipping plugin installations 2026-05-12T17:03:57.855Z [DEBUG] AutoUpdaterWrapper: Installation type: npm-global 2026-05-12T17:03:57.856Z [DEBUG] Showing marketplace installation failure notification 2026-05-12T17:03:57.888Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605437888 2026-05-12T17:03:57.889Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:03:57.896Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (6.6ms) 2026-05-12T17:03:57.896Z [DEBUG] Temp file written successfully, size: 301477 bytes 2026-05-12T17:03:57.897Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:03:57.897Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605437888 to C:\Users\cato.claude.json 2026-05-12T17:03:57.904Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.9ms) 2026-05-12T17:03:57.904Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:03:57.918Z [DEBUG] Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0 2026-05-12T17:03:58.027Z [DEBUG] Summarizing all 6 messages (~101 tokens) 2026-05-12T17:03:58.129Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605438129 2026-05-12T17:03:58.129Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:03:58.136Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms) 2026-05-12T17:03:58.136Z [DEBUG] Temp file written successfully, size: 301477 bytes 2026-05-12T17:03:58.136Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:03:58.136Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605438129 to C:\Users\cato.claude.json 2026-05-12T17:03:58.141Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:03:58.184Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel') at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909) at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166) at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663) at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278 2026-05-12T17:03:58.186Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel') at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909) at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166) at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663) at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278 2026-05-12T17:03:58.916Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (6.6ms) 2026-05-12T17:03:59.115Z [DEBUG] Stream started - received first chunk 2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-05-12T17:04:01.372Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-05-12T17:04:01.372Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-05-12T17:04:01.721Z [DEBUG] Skipping UserPromptSubmit hook execution - workspace trust not accepted 2026-05-12T17:04:01.742Z [DEBUG] FileHistory: Added snapshot for 49be4db7-bcc5-4675-861b-1bc296151625, tracking 0 files 2026-05-12T17:04:01.992Z [DEBUG] Total plugin output styles loaded: 0 2026-05-12T17:04:02.077Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel') at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909) at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:1990 at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:2831 at async J07 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:4939) at async rK1 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:3678) at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:3796 at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2625:3877 2026-05-12T17:04:02.300Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605442300 2026-05-12T17:04:02.300Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:04:02.308Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.4ms) 2026-05-12T17:04:02.308Z [DEBUG] Temp file written successfully, size: 301501 bytes 2026-05-12T17:04:02.308Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:04:02.308Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605442300 to C:\Users\cato.claude.json 2026-05-12T17:04:02.313Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:04:02.372Z [DEBUG] Writing to temp file: C:\Users\cato.claude.json.tmp.13956.1778605442372 2026-05-12T17:04:02.373Z [DEBUG] Preserving file permissions: 100666 2026-05-12T17:04:02.381Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.7ms) 2026-05-12T17:04:02.381Z [DEBUG] Temp file written successfully, size: 301523 bytes 2026-05-12T17:04:02.382Z [DEBUG] Applied original permissions to temp file 2026-05-12T17:04:02.382Z [DEBUG] Renaming C:\Users\cato.claude.json.tmp.13956.1778605442372 to C:\Users\cato.claude.json 2026-05-12T17:04:02.388Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (5.2ms) 2026-05-12T17:04:02.388Z [DEBUG] File C:\Users\cato.claude.json written atomically 2026-05-12T17:04:02.871Z [DEBUG] Stream started - received first chunk 2026-05-12T17:05:02.237Z [DEBUG] Skipping Notification:idle_prompt hook execution - workspace trust not accepted

Root Cause

Note on Version

I am using v2.0.76 instead of the latest (2.1.x) because versions 2.1.x use a native .exe binary that requires AVX CPU instructions which my processor does not support. Versions 2.0.x use cli.js via Node.js and are the only ones that run on my hardware. The effortLevel bug described below affects all 2.0.x versions tested.

Fix Action

Workaround

Only workaround is deleting ~/.claude.json before each launch.

Code Example

2026-05-12T17:03:52.650Z [DEBUG] Watching for changes in setting files C:\Users\cato\.claude, C:\Users\cato\.claude...
2026-05-12T17:03:52.792Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
2026-05-12T17:03:52.933Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called
2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending
2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1)
2026-05-12T17:03:52.975Z [DEBUG] LSP server manager initialized successfully
2026-05-12T17:03:52.976Z [DEBUG] LSP notification handlers registered successfully for all 0 server(s)
2026-05-12T17:03:52.977Z [DEBUG] Found 0 plugins (0 enabled, 0 disabled)
2026-05-12T17:03:53.000Z [DEBUG] Stats cache does not exist, returning empty cache
2026-05-12T17:03:53.001Z [DEBUG] Stats cache empty, processing all historical data in background
2026-05-12T17:03:53.007Z [DEBUG] Plugin autoupdate: skipped (auto-updater disabled)
2026-05-12T17:03:53.032Z [DEBUG] Loading skills from: managed=C:\ProgramData\ClaudeCode\.claude\skills, user=C:\Users\cato\.claude\skills, project=[]
2026-05-12T17:03:53.545Z [DEBUG] [SLOW OPERATION DETECTED] execSyncWithDefaults_DEPRECATED (474.1ms): tasklist | findstr /I "Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phps
2026-05-12T17:03:53.552Z [DEBUG] installed_plugins.json doesn't exist, returning empty V2 object
2026-05-12T17:03:53.652Z [DEBUG] Creating shell snapshot for bash (C:\Program Files\Git\bin\bash.exe)
2026-05-12T17:03:53.653Z [DEBUG] Looking for shell config file: C:\Users\cato\.bashrc
2026-05-12T17:03:53.653Z [DEBUG] Shell config file not found: C:\Users\cato\.bashrc, creating snapshot with Claude Code defaults only
2026-05-12T17:03:53.653Z [DEBUG] Snapshots directory: C:\Users\cato\.claude\shell-snapshots
2026-05-12T17:03:53.694Z [DEBUG] Creating snapshot at: C:\Users\cato\.claude\shell-snapshots\snapshot-bash-1778605433653-fpbi2b.sh
2026-05-12T17:03:53.694Z [DEBUG] Shell binary exists: true
2026-05-12T17:03:53.695Z [DEBUG] Execution timeout: 10000ms
2026-05-12T17:03:53.705Z [DEBUG] Writing to temp file: C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705
2026-05-12T17:03:53.712Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (5.8ms)
2026-05-12T17:03:53.712Z [DEBUG] Temp file written successfully, size: 2 bytes
2026-05-12T17:03:53.712Z [DEBUG] Renaming C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705 to C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json
2026-05-12T17:03:53.714Z [DEBUG] File C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json written atomically
2026-05-12T17:03:53.768Z [DEBUG] getPluginSkills: Processing 0 enabled plugins
2026-05-12T17:03:53.768Z [DEBUG] Total plugin skills loaded: 0
2026-05-12T17:03:53.768Z [DEBUG] Total plugin commands loaded: 0
2026-05-12T17:03:53.769Z [DEBUG] Registered 0 hooks from 0 plugins
2026-05-12T17:03:53.893Z [DEBUG] Total plugin agents loaded: 0
2026-05-12T17:03:53.894Z [DEBUG] Loaded 0 unique skills (managed: 0, user: 0, project: 0, legacy commands: 0)
2026-05-12T17:03:53.894Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills
2026-05-12T17:03:53.926Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (21.7ms)
2026-05-12T17:03:54.056Z [DEBUG] Git remote URL: null
2026-05-12T17:03:54.056Z [DEBUG] No git remote URL found
2026-05-12T17:03:54.056Z [DEBUG] Not in a GitHub repository, skipping path mapping update
2026-05-12T17:03:54.834Z [DEBUG] Shell snapshot created successfully (341 bytes)
2026-05-12T17:03:56.465Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.2ms)
2026-05-12T17:03:56.633Z [DEBUG] [SLOW OPERATION DETECTED] fs.copyFileSync (7.0ms)
2026-05-12T17:03:56.637Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605436637
2026-05-12T17:03:56.637Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:56.645Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms)
2026-05-12T17:03:56.645Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:56.645Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:56.645Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605436637 to C:\Users\cato\.claude.json
2026-05-12T17:03:56.656Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.3ms)
2026-05-12T17:03:56.656Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:56.666Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.3ms)
2026-05-12T17:03:57.192Z [DEBUG] Initialized versioned plugins system with 0 plugins
2026-05-12T17:03:57.219Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437219
2026-05-12T17:03:57.220Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.228Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.3ms)
2026-05-12T17:03:57.228Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:57.228Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.228Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437219 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.235Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.1ms)
2026-05-12T17:03:57.236Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.278Z [DEBUG] Skipping SessionStart:startup hook execution - workspace trust not accepted
2026-05-12T17:03:57.309Z [DEBUG] Skills and commands included in Skill tool:
2026-05-12T17:03:57.426Z [DEBUG] Skipping SubagentStart:Explore hook execution - workspace trust not accepted
2026-05-12T17:03:57.476Z [DEBUG] Skipping SubagentStart:Plan hook execution - workspace trust not accepted
2026-05-12T17:03:57.726Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437726
2026-05-12T17:03:57.726Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.740Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (13.1ms)
2026-05-12T17:03:57.740Z [DEBUG] Temp file written successfully, size: 301401 bytes
2026-05-12T17:03:57.740Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.740Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437726 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.751Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.9ms)
2026-05-12T17:03:57.752Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.788Z [DEBUG] Official marketplace auto-install skipped: unknown
2026-05-12T17:03:57.790Z [DEBUG] performStartupChecks called
2026-05-12T17:03:57.795Z [DEBUG] Trust not accepted for current directory - skipping plugin installations
2026-05-12T17:03:57.855Z [DEBUG] AutoUpdaterWrapper: Installation type: npm-global
2026-05-12T17:03:57.856Z [DEBUG] Showing marketplace installation failure notification
2026-05-12T17:03:57.888Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437888
2026-05-12T17:03:57.889Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.896Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (6.6ms)
2026-05-12T17:03:57.896Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:57.897Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.897Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437888 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.904Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.9ms)
2026-05-12T17:03:57.904Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.918Z [DEBUG] Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0
2026-05-12T17:03:58.027Z [DEBUG] Summarizing all 6 messages (~101 tokens)
2026-05-12T17:03:58.129Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605438129
2026-05-12T17:03:58.129Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:58.136Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms)
2026-05-12T17:03:58.136Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:58.136Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:58.136Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605438129 to C:\Users\cato\.claude.json
2026-05-12T17:03:58.141Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:58.184Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278
2026-05-12T17:03:58.186Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278
2026-05-12T17:03:58.916Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (6.6ms)
2026-05-12T17:03:59.115Z [DEBUG] Stream started - received first chunk
2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-05-12T17:04:01.372Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-05-12T17:04:01.372Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-05-12T17:04:01.721Z [DEBUG] Skipping UserPromptSubmit hook execution - workspace trust not accepted
2026-05-12T17:04:01.742Z [DEBUG] FileHistory: Added snapshot for 49be4db7-bcc5-4675-861b-1bc296151625, tracking 0 files
2026-05-12T17:04:01.992Z [DEBUG] Total plugin output styles loaded: 0
2026-05-12T17:04:02.077Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:1990
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:2831
    at async J07 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:4939)
    at async rK1 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:3678)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:3796
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2625:3877
2026-05-12T17:04:02.300Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605442300
2026-05-12T17:04:02.300Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:04:02.308Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.4ms)
2026-05-12T17:04:02.308Z [DEBUG] Temp file written successfully, size: 301501 bytes
2026-05-12T17:04:02.308Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:04:02.308Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605442300 to C:\Users\cato\.claude.json
2026-05-12T17:04:02.313Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:04:02.372Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605442372
2026-05-12T17:04:02.373Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:04:02.381Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.7ms)
2026-05-12T17:04:02.381Z [DEBUG] Temp file written successfully, size: 301523 bytes
2026-05-12T17:04:02.382Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:04:02.382Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605442372 to C:\Users\cato\.claude.json
2026-05-12T17:04:02.388Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (5.2ms)
2026-05-12T17:04:02.388Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:04:02.871Z [DEBUG] Stream started - received first chunk
2026-05-12T17:05:02.237Z [DEBUG] Skipping Notification:idle_prompt hook execution - workspace trust not accepted
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Bug Description

After the first launch of Claude Code, every subsequent launch causes "Interrupted · What should Claude do instead?" error on any input. Only works on first launch after deleting ~/.claude.json.

Note on Version

I am using v2.0.76 instead of the latest (2.1.x) because versions 2.1.x use a native .exe binary that requires AVX CPU instructions which my processor does not support. Versions 2.0.x use cli.js via Node.js and are the only ones that run on my hardware. The effortLevel bug described below affects all 2.0.x versions tested.

Environment

  • OS: Windows 10 (Build 19045)
  • Node.js: 22.22.2
  • Claude Code: 2.0.76 (latest compatible version for non-AVX CPU)
  • npm: 10.9.7
  • Shell: Git Bash (C:\Program Files\Git\bin\bash.exe)

Steps to Reproduce

  1. Delete ~/.claude.json and ~/.claude directory
  2. Run claude - works normally
  3. Exit Claude Code
  4. Run claude again - every input shows "Interrupted · What should Claude do instead?"

Error from Debug Log (~/.claude/debug/latest)

TypeError: Cannot read properties of null (reading 'effortLevel') at g50 (file:///C:/Users/.../claude-code/cli.js:2064:6979) at m$ (file:///C:/Users/.../claude-code/cli.js:3094:4555)

What I Tried

  • Different Claude Code versions (2.0.60, 2.0.75, 2.0.76)
  • Different Node.js versions (20 via NVM, 22 direct install)
  • Clean reinstall of Node.js + Claude Code
  • Deleting ~/.claude.json and ~/.claude directory
  • Various settings.json configurations (model, thinking disabled, effortLevel)
  • --dangerously-skip-permissions flag
  • Multiple directories (home, project folders)

Workaround

Only workaround is deleting ~/.claude.json before each launch.

Request

Please fix the effortLevel null error in 2.0.x versions, or provide a non-AVX build of 2.1.x for older hardware.

What Should Happen?

Claude Code should work normally on every launch without requiring deletion of ~/.claude.json. The effortLevel property should never be null - it should have a default value (e.g. "normal") when not explicitly set. Additionally, Anthropic should provide a non-AVX build of Claude Code 2.1.x for users with older CPUs that do not support AVX instructions.

Error Messages/Logs

2026-05-12T17:03:52.650Z [DEBUG] Watching for changes in setting files C:\Users\cato\.claude, C:\Users\cato\.claude...
2026-05-12T17:03:52.792Z [DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
2026-05-12T17:03:52.933Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called
2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending
2026-05-12T17:03:52.934Z [DEBUG] [LSP MANAGER] Starting async initialization (generation 1)
2026-05-12T17:03:52.975Z [DEBUG] LSP server manager initialized successfully
2026-05-12T17:03:52.976Z [DEBUG] LSP notification handlers registered successfully for all 0 server(s)
2026-05-12T17:03:52.977Z [DEBUG] Found 0 plugins (0 enabled, 0 disabled)
2026-05-12T17:03:53.000Z [DEBUG] Stats cache does not exist, returning empty cache
2026-05-12T17:03:53.001Z [DEBUG] Stats cache empty, processing all historical data in background
2026-05-12T17:03:53.007Z [DEBUG] Plugin autoupdate: skipped (auto-updater disabled)
2026-05-12T17:03:53.032Z [DEBUG] Loading skills from: managed=C:\ProgramData\ClaudeCode\.claude\skills, user=C:\Users\cato\.claude\skills, project=[]
2026-05-12T17:03:53.545Z [DEBUG] [SLOW OPERATION DETECTED] execSyncWithDefaults_DEPRECATED (474.1ms): tasklist | findstr /I "Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phps
2026-05-12T17:03:53.552Z [DEBUG] installed_plugins.json doesn't exist, returning empty V2 object
2026-05-12T17:03:53.652Z [DEBUG] Creating shell snapshot for bash (C:\Program Files\Git\bin\bash.exe)
2026-05-12T17:03:53.653Z [DEBUG] Looking for shell config file: C:\Users\cato\.bashrc
2026-05-12T17:03:53.653Z [DEBUG] Shell config file not found: C:\Users\cato\.bashrc, creating snapshot with Claude Code defaults only
2026-05-12T17:03:53.653Z [DEBUG] Snapshots directory: C:\Users\cato\.claude\shell-snapshots
2026-05-12T17:03:53.694Z [DEBUG] Creating snapshot at: C:\Users\cato\.claude\shell-snapshots\snapshot-bash-1778605433653-fpbi2b.sh
2026-05-12T17:03:53.694Z [DEBUG] Shell binary exists: true
2026-05-12T17:03:53.695Z [DEBUG] Execution timeout: 10000ms
2026-05-12T17:03:53.705Z [DEBUG] Writing to temp file: C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705
2026-05-12T17:03:53.712Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (5.8ms)
2026-05-12T17:03:53.712Z [DEBUG] Temp file written successfully, size: 2 bytes
2026-05-12T17:03:53.712Z [DEBUG] Renaming C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json.tmp.13956.1778605433705 to C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json
2026-05-12T17:03:53.714Z [DEBUG] File C:\Users\cato\.claude\todos\dca17c23-188e-44f9-b5eb-d3a29f429783-agent-dca17c23-188e-44f9-b5eb-d3a29f429783.json written atomically
2026-05-12T17:03:53.768Z [DEBUG] getPluginSkills: Processing 0 enabled plugins
2026-05-12T17:03:53.768Z [DEBUG] Total plugin skills loaded: 0
2026-05-12T17:03:53.768Z [DEBUG] Total plugin commands loaded: 0
2026-05-12T17:03:53.769Z [DEBUG] Registered 0 hooks from 0 plugins
2026-05-12T17:03:53.893Z [DEBUG] Total plugin agents loaded: 0
2026-05-12T17:03:53.894Z [DEBUG] Loaded 0 unique skills (managed: 0, user: 0, project: 0, legacy commands: 0)
2026-05-12T17:03:53.894Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills
2026-05-12T17:03:53.926Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (21.7ms)
2026-05-12T17:03:54.056Z [DEBUG] Git remote URL: null
2026-05-12T17:03:54.056Z [DEBUG] No git remote URL found
2026-05-12T17:03:54.056Z [DEBUG] Not in a GitHub repository, skipping path mapping update
2026-05-12T17:03:54.834Z [DEBUG] Shell snapshot created successfully (341 bytes)
2026-05-12T17:03:56.465Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.2ms)
2026-05-12T17:03:56.633Z [DEBUG] [SLOW OPERATION DETECTED] fs.copyFileSync (7.0ms)
2026-05-12T17:03:56.637Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605436637
2026-05-12T17:03:56.637Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:56.645Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms)
2026-05-12T17:03:56.645Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:56.645Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:56.645Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605436637 to C:\Users\cato\.claude.json
2026-05-12T17:03:56.656Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.3ms)
2026-05-12T17:03:56.656Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:56.666Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (5.3ms)
2026-05-12T17:03:57.192Z [DEBUG] Initialized versioned plugins system with 0 plugins
2026-05-12T17:03:57.219Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437219
2026-05-12T17:03:57.220Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.228Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.3ms)
2026-05-12T17:03:57.228Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:57.228Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.228Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437219 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.235Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.1ms)
2026-05-12T17:03:57.236Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.278Z [DEBUG] Skipping SessionStart:startup hook execution - workspace trust not accepted
2026-05-12T17:03:57.309Z [DEBUG] Skills and commands included in Skill tool:
2026-05-12T17:03:57.426Z [DEBUG] Skipping SubagentStart:Explore hook execution - workspace trust not accepted
2026-05-12T17:03:57.476Z [DEBUG] Skipping SubagentStart:Plan hook execution - workspace trust not accepted
2026-05-12T17:03:57.726Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437726
2026-05-12T17:03:57.726Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.740Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (13.1ms)
2026-05-12T17:03:57.740Z [DEBUG] Temp file written successfully, size: 301401 bytes
2026-05-12T17:03:57.740Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.740Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437726 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.751Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (10.9ms)
2026-05-12T17:03:57.752Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.788Z [DEBUG] Official marketplace auto-install skipped: unknown
2026-05-12T17:03:57.790Z [DEBUG] performStartupChecks called
2026-05-12T17:03:57.795Z [DEBUG] Trust not accepted for current directory - skipping plugin installations
2026-05-12T17:03:57.855Z [DEBUG] AutoUpdaterWrapper: Installation type: npm-global
2026-05-12T17:03:57.856Z [DEBUG] Showing marketplace installation failure notification
2026-05-12T17:03:57.888Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605437888
2026-05-12T17:03:57.889Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:57.896Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (6.6ms)
2026-05-12T17:03:57.896Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:57.897Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:57.897Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605437888 to C:\Users\cato\.claude.json
2026-05-12T17:03:57.904Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (7.9ms)
2026-05-12T17:03:57.904Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:57.918Z [DEBUG] Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0
2026-05-12T17:03:58.027Z [DEBUG] Summarizing all 6 messages (~101 tokens)
2026-05-12T17:03:58.129Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605438129
2026-05-12T17:03:58.129Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:03:58.136Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.1ms)
2026-05-12T17:03:58.136Z [DEBUG] Temp file written successfully, size: 301477 bytes
2026-05-12T17:03:58.136Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:03:58.136Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605438129 to C:\Users\cato\.claude.json
2026-05-12T17:03:58.141Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:03:58.184Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278
2026-05-12T17:03:58.186Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at async B4A (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2712:12663)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2880:7278
2026-05-12T17:03:58.916Z [DEBUG] [SLOW OPERATION DETECTED] fs.readFileSync (6.6ms)
2026-05-12T17:03:59.115Z [DEBUG] Stream started - received first chunk
2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called
2026-05-12T17:04:01.371Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending
2026-05-12T17:04:01.372Z [DEBUG] Hooks: Found 0 total hooks in registry
2026-05-12T17:04:01.372Z [DEBUG] Hooks: checkForNewResponses returning 0 responses
2026-05-12T17:04:01.721Z [DEBUG] Skipping UserPromptSubmit hook execution - workspace trust not accepted
2026-05-12T17:04:01.742Z [DEBUG] FileHistory: Added snapshot for 49be4db7-bcc5-4675-861b-1bc296151625, tracking 0 files
2026-05-12T17:04:01.992Z [DEBUG] Total plugin output styles loaded: 0
2026-05-12T17:04:02.077Z [ERROR] TypeError: TypeError: Cannot read properties of null (reading 'effortLevel')
    at hH0 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1845:3909)
    at ew (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2207:4166)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:1990
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:2831
    at async J07 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:4939)
    at async rK1 (file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2640:3678)
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2709:3796
    at async file:///C:/Users/cato/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2625:3877
2026-05-12T17:04:02.300Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605442300
2026-05-12T17:04:02.300Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:04:02.308Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.4ms)
2026-05-12T17:04:02.308Z [DEBUG] Temp file written successfully, size: 301501 bytes
2026-05-12T17:04:02.308Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:04:02.308Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605442300 to C:\Users\cato\.claude.json
2026-05-12T17:04:02.313Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:04:02.372Z [DEBUG] Writing to temp file: C:\Users\cato\.claude.json.tmp.13956.1778605442372
2026-05-12T17:04:02.373Z [DEBUG] Preserving file permissions: 100666
2026-05-12T17:04:02.381Z [DEBUG] [SLOW OPERATION DETECTED] fs.writeFileSync (7.7ms)
2026-05-12T17:04:02.381Z [DEBUG] Temp file written successfully, size: 301523 bytes
2026-05-12T17:04:02.382Z [DEBUG] Applied original permissions to temp file
2026-05-12T17:04:02.382Z [DEBUG] Renaming C:\Users\cato\.claude.json.tmp.13956.1778605442372 to C:\Users\cato\.claude.json
2026-05-12T17:04:02.388Z [DEBUG] [SLOW OPERATION DETECTED] fs.renameSync (5.2ms)
2026-05-12T17:04:02.388Z [DEBUG] File C:\Users\cato\.claude.json written atomically
2026-05-12T17:04:02.871Z [DEBUG] Stream started - received first chunk
2026-05-12T17:05:02.237Z [DEBUG] Skipping Notification:idle_prompt hook execution - workspace trust not accepted

Steps to Reproduce

  1. Have Windows 10 with Node.js 22.x and Claude Code 2.0.76 installed
  2. Delete ~/.claude.json and ~/.claude directory (or fresh install)
  3. Run claude in any directory
  4. Type any message (e.g. "hello") - Claude responds normally ✓
  5. Exit Claude Code with /exit
  6. Run claude again in the same or any directory
  7. Type any message - shows "Interrupted · What should Claude do instead?" ✗

The bug reproduces 100% of the time on steps 6-7. Every subsequent launch after step 5 will show the Interrupted error. The only way to get Claude working again is to repeat steps 2-4.

Debug log location: %USERPROFILE%.claude\debug\latest Error appears immediately after typing any input: TypeError: Cannot read properties of null (reading 'effortLevel')

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.0.76 (latest compatible version for non-AVX CPU)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Windows 10: "Interrupted" error on every restart - Cannot read properties of null (reading 'effortLevel')