[Bug] Bash Glob Expansion Fails with 'No such file or directory' Error
Status Closed — not planned
Maintainer reply None cached
Activity 9 comments · opened Sep 10, 2025 · closed Jan 9, 2026
Bug Description
I keep seeing: "ls: cannot access 'glob': No such file or directory" in Bash commands like:
● Bash(ls -la /home/matthew/dev/ce/infra/bin/lib/cefs/*.py | head -20)
⎿ ls: cannot access 'glob': No such file or directory
⎿ Interrupted by user
(I interrupted claude to file this issue. But I've seen it a bunch of times)
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 1.0.110
- Feedback ID: e9af1f30-e1cb-443e-bebf-3f8852c16382
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at HSW (/$bunfs/root/claude:3603:13820)\n at gq (/$bunfs/root/claude:47:19415)\n at _u (/$bunfs/root/claude:49:42805)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:36:47.575Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at HSW (/$bunfs/root/claude:3603:13820)\n at gq (/$bunfs/root/claude:47:19415)\n at QP (/$bunfs/root/claude:49:3229)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:36:47.841Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at sE0 (/$bunfs/root/claude:1784:40465)\n at gq (/$bunfs/root/claude:47:19415)\n at _u (/$bunfs/root/claude:49:42805)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:37:32.944Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at HSW (/$bunfs/root/claude:3603:13820)\n at gq (/$bunfs/root/claude:47:19415)\n at _u (/$bunfs/root/claude:49:42805)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:39:19.287Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at HSW (/$bunfs/root/claude:3603:13820)\n at gq (/$bunfs/root/claude:47:19415)\n at QP (/$bunfs/root/claude:49:3229)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:39:19.595Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at nH (/$bunfs/root/claude:1640:1192)\n at map (native:1:11)\n at L7 (/$bunfs/root/claude:1640:905)\n at sE0 (/$bunfs/root/claude:1784:40465)\n at gq (/$bunfs/root/claude:47:19415)\n at _u (/$bunfs/root/claude:49:42805)\n at p5 (/$bunfs/root/claude:49:38347)\n at fx (/$bunfs/root/claude:49:38275)\n at oq (/$bunfs/root/claude:49:38129)\n at VF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-10T21:41:08.024Z"},{"error":"Error: Request was aborted.\n at new Q5 (unknown:1:28)\n at new xY (/$bunfs/root/claude:831:1962)\n at new oQ (/$bunfs/root/claude:831:2750)\n at _createMessage (/$bunfs/root/claude:839:7955)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-10T21:42:30.266Z"},{"error":"SyntaxError: JSON Parse error: Unable to parse JSON string\n at <parse> (:0)\n at parse (unknown)\n at <anonymous> (/$bunfs/root/claude:582:9937)\n at W (/$bunfs/root/claude:533:13280)\n at VfG (/$bunfs/root/claude:1000:1920)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-10T21:44:56.960Z"},{"error":"Error: Request was aborted.\n at new Q5 (unknown:1:28)\n at new xY (/$bunfs/root/claude:831:1962)\n at new oQ (/$bunfs/root/claude:831:2750
Note: Error logs were truncated.
9 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Duplicate of #5664 though this affects more than just that directory.
@bcherny I'm not sure what happened but the issue #5664 that is now locked (but reopened) I'd like to +1 to. But it's locked. So I'm reopening this.
It seems that #5664 was closed as a duplicate of #5811, but #5811 was closed as a duplicate of #5644!
That's an interesting way of avoiding a problem.
Anyway, there's a MUCH easier repo of this issue.
If you just type
!and thenecho * | cat, it will output the wordglobinstead of passing the*to bash to expand.If you run
! bash -c "echo * | cat"instead, the*gets properly expanded. You can see that this is somehow connected to running directly insideclaude.This causes claude to struggle to find files in a codebase, and increases the cost for people to use per-token billing (because it causes more model requests).
yeah this issue is causing a lot of extra calls all the time since it rolled out
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.
I can't reproduce this anymore in v2.0.55
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.