[BUG] Error: String to replace not found in file.
Resolved 💬 3 comments Opened Apr 16, 2026 by novenzhen Closed Apr 19, 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?
when use gemma-4 or some other model ,in windows os,Error editing file,Error: String to replace not found in file.
What Should Happen?
when use gemma-4 or some other model ,in windows os,Error editing file,Error: String to replace not found in file.
Error Messages/Logs
Error: String to replace not found in file.
Steps to Reproduce
when use gemma-4 or some other model ,in windows os,Error editing file,Error: String to replace not found in file.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.110
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗