Path Parsing Error: Incorrect Directory Name Handling in /init Command
Resolved 💬 3 comments Opened Jul 23, 2025 by rudedogdhc Closed Jan 5, 2026
Bug Description
I am trying to run claude /init in a project directory with a path of ~/projects/worktrees/work/ios/dynamedex/5.3/dmpremier. claude continues to try to use a working path where it spells "dynamedex" as "dynamedx". It creates that directory, and that's where it puts the CLAUDE.md file. This is obviously not what I want, but I don't know how to make it stop doing that.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.58
- Feedback ID: a17f1ee5-f5f5-4f10-96bd-97b02a13b72a
Errors
[{"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:924:11)\n at execSync (node:child_process:996:15)\n at F7 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:844:5958)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:756:48658\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:653:14408)\n at LW (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:756:46369)\n at eK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:756:45236)\n at dB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:756:51284)","timestamp":"2025-07-23T21:19:00.313Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗