[BUG] Slash commands crash all

Resolved 💬 6 comments Opened Jan 9, 2026 by nikolaidk Closed Feb 24, 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?

Trying to run /doctor slash command or any other command i get this error after upgrade.

sw_vers && claude --version
ProductName: macOS
ProductVersion: 15.6.1
BuildVersion: 24G90
2.1.2 (Claude Code)

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ /
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
/add-dir Add a new working directory
/agents Manage agent configurations
/chrome Claude in Chrome (Beta) settings
/clear Clear conversation history and free up context
/compact Clear conversation history but keep a summary in context. Optional: /compact [instructions for summarization]
/config Open config panel
/context Visualize current context usage as a colored grid
/doctor Diagnose and verify your Claude Code installation and settings

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ /do
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
/add-dir Add a new working directory
/agents Manage agent configurations
/chrome Claude in Chrome (Beta) settings
/clear Clear conversation history and free up context
/compact Clear conversation history but keep a summary in context. Optional: /compact [instructions for summarization]
/config Open config panel
/context Visualize current context usage as a colored grid
/doctor Diagnose and verify your Claude Code installation and settings
/exit Exit the REPL
/export Export the current conversation to a file or clipboard
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: $.description.split is not a function. (In '$.description.split(" ")', '$.description.split' is undefined)
at <anonymous> (/$bunfs/root/claude:2961:27399)
at map (native:1:11)
at sKA (/$bunfs/root/claude:2961:27285)
at <anonymous> (/$bunfs/root/claude:2964:14377)
at <anonymous> (/$bunfs/root/claude:2964:15090)
at <anonymous> (/$bunfs/root/claude:2964:15130)
at nA (/$bunfs/root/claude:693:62385)
at Tf (/$bunfs/root/claude:693:75295)
at MG (/$bunfs/root/claude:693:75179)
at Tf (/$bunfs/root/claude:693:76078)

What Should Happen?

Command should run correctly without errors like:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: $.description.split is not a function. (In '$.description.split(" ")', '$.description.split' is undefined)
at <anonymous> (/$bunfs/root/claude:2961:27399)
at map (native:1:11)
at sKA (/$bunfs/root/claude:2961:27285)
at <anonymous> (/$bunfs/root/claude:2964:14377)
at <anonymous> (/$bunfs/root/claude:2964:15090)
at <anonymous> (/$bunfs/root/claude:2964:15130)
at nA (/$bunfs/root/claude:693:62385)
at Tf (/$bunfs/root/claude:693:75295)
at MG (/$bunfs/root/claude:693:75179)
at Tf (/$bunfs/root/claude:693:76078)

Error Messages/Logs

This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: $.description.split is not a function. (In '$.description.split(" ")', '$.description.split' is undefined)
    at <anonymous> (/$bunfs/root/claude:2961:27399)
    at map (native:1:11)
    at sKA (/$bunfs/root/claude:2961:27285)
    at <anonymous> (/$bunfs/root/claude:2964:14377)
    at <anonymous> (/$bunfs/root/claude:2964:15090)
    at <anonymous> (/$bunfs/root/claude:2964:15130)
    at nA (/$bunfs/root/claude:693:62385)
    at Tf (/$bunfs/root/claude:693:75295)
    at MG (/$bunfs/root/claude:693:75179)
    at Tf (/$bunfs/root/claude:693:76078)

Steps to Reproduce

try to run /doctor on latest version

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.2

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Iam just running claude in clean and simple folder structure and removed .claude folder to avoid noise

View original on GitHub ↗

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