[Bug] Search tool returns 0 results, requires manual ripgrep workaround

Resolved 💬 3 comments Opened Dec 17, 2025 by elyxlz Closed Dec 21, 2025

Bug Description
When claude code uses the search tool. it always returns 0 results. i always manually tell it to use rip grep (rg) instead.

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 2.0.71
  • Feedback ID: b40a200d-f763-4a0f-8de9-35565a9e574a

Errors

[{"error":"Error: Command failed: /home/elyx/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-linux/rg --files --hidden --follow --no-ignore --glob *.md /home/elyx/.claude/commands\n<jemalloc>: Unsupported system page size\n<jemalloc>: Unsupported system page size\nmemory allocation of 160 bytes failed\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at ChildProcess.exithandler (node:child_process:417:12)\n    at ChildProcess.emit (node:events:519:28)\n    at ChildProcess.emit (node:domain:489:12)\n    at maybeClose (node:internal/child_process:1101:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:304:5)","timestamp":"2025-12-17T11:09:19.076Z"}]

View original on GitHub ↗

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