[Bug] RangeError: Invalid String Length in CLI Execution
Bug Description
Claude Code crashed here is the log :
Errors
… +1942 lines (ctrl+o to expand)
RangeError: Invalid string length
at file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:1785:4321
at file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:1799:3042
at file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:2374:3368
at IR (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:20239)
at WR (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:20722)
at Object.useState (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:27275)
at vBQ.useState (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:10:7178)
at s7 (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:2374:3257)
at rD (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:19415)
at nj (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:86:3227)
ERROR Invalid string length
file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:1785:4321
- (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:1785:4321)
- (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:1799:3042)
- (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:2374:3368)
- IR (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:20239)
- WR (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:20722)
- Object.useState (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:27275)
- vBQ.useState (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:10:7178)
- s7 (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:2374:3257)
- rD (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:84:19415)
- nj (file:///C:/Users/{USER}/Nodejs/node_modules/@anthropic-ai/claude-code/cli.js:86:3227)
Environment Info
- Platform: win32
- Terminal: null
- Version: 1.0.113
- Feedback ID:
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗