Here's a concise, technical issue title: Text Replacement Fails with "String to Replace Not Found" Error This title: - Identifies the specific problem (text replacement failure) - Includes the key error message - Uses technical language - Is direct and d
Resolved 💬 1 comment Opened Jun 6, 2025 by h4cknode Closed Jun 6, 2025
Bug Description
this version is doing to many error when trying to edit "replace" come text in the file! i have tried to prompt it manually like telling to read the entire file and then proced with the edit but not joy this is the exactly error :
Error: String to replace not found in file.
Environment Info
- Platform: macos
- Terminal: iTerm.app
- Version: 1.0.16
- Feedback ID: 11112f89-c7dc-4293-af67-efd7ebac7d5d
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:882:11)\n at execSync (node:child_process:954:15)\n at WZ (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:654:3921)\n at file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11794\n at Q (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n at pJ (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10940)\n at iP (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10021)\n at n6 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:14133)","timestamp":"2025-06-06T07:43:53.453Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1573:1326)\n at async nZ5 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19170)\n at async JK1 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17756)\n at async GK1 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1890:775)\n at async iZ5 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16918)\n at async pZ5 (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16403)\n at async UO (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:15456)\n at async UO (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16282)\n at async UO (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16282)\n at async UO (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16282)","timestamp":"2025-06-06T07:54:35.297Z"},{"error":"Error: Request was aborted.\n at No._createMessage (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1344:6810)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-06T07:55:32.077Z"},{"error":"Error: Request was aborted.\n at No._createMessage (file:///Users/ordis/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1344:6810)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-06-06T07:57:53.207Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗