[BUG] Claude Code crashes when /doctor is ran

Resolved 💬 3 comments Opened Nov 4, 2025 by GreenXLantern Closed Nov 8, 2025

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?

PS C:\temp> claude --version
2.0.32 (Claude Code)
PS C:\temp> where.exe claude
C:\Users\ADM13137\AppData\Roaming\npm\claude
C:\Users\ADM13137\AppData\Roaming\npm\claude.cmd
PS C:\temp> node --version
v24.5.0

ERROR Cannot assign to read only property '0' of object '[object String]'

file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:5925

  • wo2 (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:5925)
  • Lo2 (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:6123)
  • NB9 (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:37010)
  • yB9 (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8:37797)
  • (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1918:641)
  • at Array.forEach (<anonymous>)
  • Yu6 (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1918:162)
  • (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1918:1142)
  • at Array.map (<anonymous>)
  • akQ (file:///C:/Users/ADM13137/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1918:993)

What Should Happen?

/doctor should show any issues that Claude Code is having.

Error Messages/Logs

Steps to Reproduce

/doctor is run, then the interface freezes.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.32

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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