[BUG] Runtime error. Aborted() when attempting to edit files
Resolved 💬 3 comments Opened Sep 30, 2025 by Emasoft Closed Oct 4, 2025
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 attempting to edit some file to add indenting Claude Code crashes with Runtime Error.
What Should Happen?
It should not crash but edit the files normally.
Error Messages/Logs
⏺ Now I need to indent all the test code. Let me do this in chunks:
RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
at l (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:769:7217)
at i (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:770:20244)
at wasm://wasm/0005694a:wasm-function[29]:0x4ff
at wasm://wasm/0005694a:wasm-function[223]:0x13fd0
at wasm://wasm/0005694a:wasm-function[92]:0xd907
at nA.insertChild (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:770:6321)
at pD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:779:3387)
at DN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:12849)
at Y4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:16422)
at RH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38527)
ERROR Aborted(). Build with -sASSERTIONS for more info.
file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:769:7217
- l (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:769:7217)
- i (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:770:20244)
- at wasm://wasm/0005694a:wasm-function[29]:0x4ff
- at wasm://wasm/0005694a:wasm-function[223]:0x13fd0
- at wasm://wasm/0005694a:wasm-function[92]:0xd907
- nA.insertChild (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:770:6321)
- pD1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:779:3387)
- DN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:12849)
- Y4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:16422)
- RH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38527)
Steps to Reproduce
- ask Claude to edit some files and fix indenting
- randomly Claude Code will crash
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
It is hard to reproduce since it looks random or dependent from the current temporary state of the code.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗