Directory Creation Failure in Claude Tool

Resolved 💬 4 comments Opened Mar 10, 2025 by korya Closed Nov 29, 2025

Bug Description
The claude tool gets stuck when it needs to create a directory. It happened to me multiple times.

It is not an intermittent issue. It can never create a dir. Just gets stuck there. Not sure why.

⏺ Bash(mkdir -p /Users/dmitri/dev/sb-bot/sb_bot/core /Users/dmitri/dev/sb-bot/sb_bot/interfaces)…

∗ Ruminating… (317s · esc to interrupt)

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.35
  • Feedback ID: 4ce619c2-f717-4529-806e-d798e3731e0d

Errors

[{"error":"Error: Command failed: /opt/homebrew/Cellar/ripgrep/14.1.1/bin/rg --files --glob *.md /Users/dmitri/.claude/commands\nrg: /Users/dmitri/.claude/commands: IO error for operation on /Users/dmitri/.claude/commands: No such file or directory (os error 2)\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:414:12)\n    at ChildProcess.emit (node:events:507:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at Socket.<anonymous> (node:internal/child_process:457:11)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at Pipe.<anonymous> (node:net:351:12)","timestamp":"2025-03-10T19:48:51.431Z"},{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at ag (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:423:2092)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:507:11057\n    at Z (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:414:12512)\n    at Lw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:507:10608)\n    at nL2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1088:5352)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1156:554","timestamp":"2025-03-10T19:48:51.461Z"}]

View original on GitHub ↗

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