"Found 1 invalid settings file" warning shown but /doctor doesn't show details

Resolved 💬 3 comments Opened Dec 20, 2025 by fumi5150 Closed Feb 28, 2026

Environment

  • Claude Code version: 2.0.74
  • OS: macOS Darwin 25.1.0
  • Install method: npm-global

Description

On startup, Claude Code displays the warning:

Found 1 invalid settings file
· /doctor for details

However, when running /doctor, no information about the invalid settings file is shown. The doctor output only shows:

  • Installation diagnostics (npm-global, auto-updates enabled)
  • MCP Config diagnostics (unrelated warnings about missing env vars)

Steps to Reproduce

  1. Start Claude Code
  2. See "Found 1 invalid settings file" warning
  3. Run /doctor
  4. No details about the invalid settings file are displayed

Expected Behavior

/doctor should display which settings file is invalid and why.

Actual Behavior

/doctor doesn't show any information about invalid settings files.

Investigation Done

  • Validated all JSON files in ~/.claude/ and project .claude/ directories - all are syntactically valid
  • Temporarily removed various settings files (.claude.json, settings.local.json) - warning persists
  • Checked plugin JSON files - all valid

Additional Context

This appears to be either:

  1. A false positive warning
  2. A bug where /doctor doesn't properly report which file is invalid

🤖 Generated with Claude Code

View original on GitHub ↗

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