claude-code - 💡(How to fix) Fix [Bug] Non-English language support not implemented [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46108Fetched 2026-04-11 06:28:49
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n at exithandler (node:child_process:421:5)\n at ChildProcess.errorhandler (node:child_process:433:5)\n at ChildProcess.emit (node:events:507:28)\n at abortChildProcess (node:child_process:716:13)\n at AbortSignal.onAbortListener (node:child_process:786:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.758Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n at exithandler (node:child_process:421:5)\n at ChildProcess.errorhandler (node:child_process:433:5)\n at ChildProcess.emit (node:events:507:28)\n at abortChildProcess (node:child_process:716:13)\n at AbortSignal.onAbortListener (node:child_process:786:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.777Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n at exithandler (node:child_process:421:5)\n at ChildProcess.errorhandler (node:child_process:433:5)\n at ChildProcess.emit (node:events:507:28)\n at abortChildProcess (node:child_process:716:13)\n at AbortSignal.onAbortListener (node:child_process:786:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:40.121Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n at exithandler (node:child_process:421:5)\n at ChildProcess.errorhandler (node:child_process:433:5)\n at ChildProcess.emit (node:events:507:28)\n at abortChildProcess (node:child_process:716:13)\n at AbortSignal.onAbortListener (node:child_process:786:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:35:46.473Z"},{"error":"MaxFileReadTokenExceededError: File content (33355 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:2638)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4629:7238)\n at async xXY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4149:8246)","timestamp":"2026-04-10T03:37:29.861Z"},{"error":"MaxFileReadTokenExceededError: File content (27357 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:263…

Fix Action

Fix / Workaround

Errors

[{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.758Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.777Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:40.121Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:35:46.473Z"},{"error":"MaxFileReadTokenExceededError: File content (33355 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:2638)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4629:7238)\n    at async xXY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4149:8246)","timestamp":"2026-04-10T03:37:29.861Z"},{"error":"MaxFileReadTokenExceededError: File content (27357 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:263…

Code Example

[{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.758Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.777Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:40.121Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:35:46.473Z"},{"error":"MaxFileReadTokenExceededError: File content (33355 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:2638)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4629:7238)\n    at async xXY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4149:8246)","timestamp":"2026-04-10T03:37:29.861Z"},{"error":"MaxFileReadTokenExceededError: File content (27357 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:263…
RAW_BUFFERClick to expand / collapse

Bug Description claude code语言输出混乱

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.98
  • Feedback ID: 2666b92e-972d-484c-a04e-f7a00fcb8ae3

Errors

[{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.758Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:36.777Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:33:40.121Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:235)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:455\n    at exithandler (node:child_process:421:5)\n    at ChildProcess.errorhandler (node:child_process:433:5)\n    at ChildProcess.emit (node:events:507:28)\n    at abortChildProcess (node:child_process:716:13)\n    at AbortSignal.onAbortListener (node:child_process:786:7)\n    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)\n    at AbortSignal.dispatchEvent (node:internal/event_target:762:26)\n    at runAbort (node:internal/abort_controller:426:10)","timestamp":"2026-04-10T03:35:46.473Z"},{"error":"MaxFileReadTokenExceededError: File content (33355 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:2638)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4629:7238)\n    at async xXY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4149:8246)","timestamp":"2026-04-10T03:37:29.861Z"},{"error":"MaxFileReadTokenExceededError: File content (27357 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ONK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4620:12912)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async wNK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4624:263…

Note: Content was truncated.

extent analysis

TL;DR

Try searching a more specific path or pattern to avoid RipgrepTimeoutError and use offset and limit parameters to read specific portions of large files.

Guidance

  • The errors indicate RipgrepTimeoutError due to searches taking too long, suggesting that searches are too broad or files are too large.
  • To mitigate RipgrepTimeoutError, try narrowing down the search path or pattern to reduce the amount of data being searched.
  • For MaxFileReadTokenExceededError, use the offset and limit parameters to read specific portions of large files instead of attempting to read the entire file.
  • Verify the fix by retrying the search with the suggested modifications and checking for any remaining errors.

Example

No specific code example can be provided without more context, but adjusting search parameters or file reading approaches as suggested should help alleviate the errors.

Notes

The provided error log is truncated, which might limit the ability to provide a comprehensive solution. However, the errors clearly point towards issues with search timeouts and file size limits, which can be addressed by refining search parameters and file reading strategies.

Recommendation

Apply workaround: Adjust search paths, patterns, and file reading parameters to avoid timeouts and file size limits, as directly implied by the error messages. This approach should help mitigate the current issues without requiring an upgrade or more invasive changes.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING