[Bug] RangeError: Invalid String Length in Stream Processing

Resolved 💬 8 comments Opened Aug 28, 2025 by rschwegler Closed Jan 7, 2026

Bug Description
claude is terminating at: file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772
RangeError: Invalid string length
at PassThrough.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:4237)
at PassThrough.emit (node:events:507:28)
at PassThrough.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at node:internal/streams/transform:178:12
at PassThrough._transform (node:internal/streams/passthrough:46:3)
at Transform._write (node:internal/streams/transform:171:8)
at writeOrBuffer (node:internal/streams/writable:570:12)

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.95
  • Feedback ID: 3d9d8896-9d5f-4ee0-a5d3-1d36489981cc

Errors

[]

View original on GitHub ↗

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