claude-code
claude-code copied to clipboard
Issue Title: `find` Command Fails: Incorrect `-exec` Argument Syntax
Bug Description
Very commonly Claude tries to use the -exec argument to find but always fails: ● Bash(find /home/matthew/dev/ce/compiler-explorer-3/static/styles/themes -name "*.scss" -exec grep -l "ts-wrapper|ts-control|dropdown.*arrow|caret|border-width.*5…)
⎿ Error: find: missing argument to `-exec'
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 1.0.16
- Feedback ID: 6ffa4917-4c5b-44a9-95bb-7a0f1acc8d1e
Errors
[{"error":"MCPContentTooLargeError: MCP tool \"search_issues\" response (39106 tokens) exceeds maximum allowed tokens (25000). Please use pagination, filtering, or limit parameters to reduce the response size.\n at ns1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:7798)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async hX2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:12473)\n at async Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:8729)\n at async nZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19170)\n at async JK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17756)\n at async GK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1890:775)\n at async iZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16918)\n at async pZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16403)\n at async UO (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:15456)","timestamp":"2025-06-06T18:02:56.983Z"},{"error":"Error: Request was aborted.\n at Vw.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:3784)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-06T18:03:17.165Z"},{"error":"Error: Request was aborted.\n at No._createMessage (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1344:6810)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-06T18:03:54.106Z"},{"error":"MCPContentTooLargeError: MCP tool \"search_issues\" response (37979 tokens) exceeds maximum allowed tokens (25000). Please use pagination, filtering, or limit parameters to reduce the response size.\n at ns1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:7798)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async hX2 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:12473)\n at async Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1376:8729)\n at async nZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19170)\n at async JK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17756)\n at async GK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1890:775)\n at async iZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16918)\n at async pZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16403)\n at async UO (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:15456)","timestamp":"2025-06-06T18:05:10.163Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1573:1326)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async nZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19170)\n at async JK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17756)\n at async lZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16798)\n at async pZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16427)\n at async UO (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:15456)\n at async UO (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16282)\n at async UO (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16282)\n at async YB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2342:2112)","timestamp":"2025-06-06T19:28:07.930Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1573:1326)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async nZ5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:19170)\n at async JK1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:17756)\n at async lZ5 (file:///usr/l
Note: Error logs were truncated.
I see the same issue.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.