[GH-ISSUE #14048] ollama not working with npm-installed claude code #55693

Open
opened 2026-04-29 09:35:28 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @anotherdoesnm on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14048

What is the issue?

Claude code didn't worked with ollama if it installe from npm

Relevant log output

~ $ ollama launch

Launching Claude Code with qwen:0.5b...
Error: fork/exec /data/data/com.termux/files/usr/bin/claude: no such file or director

OS

Linux

GPU

No response

CPU

Other

Ollama version

ollama version is 0.0.0 (i built it from source)

Originally created by @anotherdoesnm on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14048 ### What is the issue? Claude code didn't worked with ollama if it installe from npm ## Relevant log output ```shell ~ $ ollama launch Launching Claude Code with qwen:0.5b... Error: fork/exec /data/data/com.termux/files/usr/bin/claude: no such file or director ``` ### OS Linux ### GPU _No response_ ### CPU Other ### Ollama version ollama version is 0.0.0 (i built it from source)
GiteaMirror added the bug label 2026-04-29 09:35:28 -05:00
Author
Owner

@mchiang0610 commented on GitHub (Feb 4, 2026):

@anotherdoesnm I want to make sure, do you have claude installed? or some previous version that was there?

<!-- gh-comment-id:3844456278 --> @mchiang0610 commented on GitHub (Feb 4, 2026): @anotherdoesnm I want to make sure, do you have claude installed? or some previous version that was there?
Author
Owner

@anotherdoesnm commented on GitHub (Feb 4, 2026):

Yes, and i can launch it
I tried to install it before with official script (install.sh) but got failed with "required file not found"

<!-- gh-comment-id:3845472222 --> @anotherdoesnm commented on GitHub (Feb 4, 2026): Yes, and i can launch it I tried to install it before with official script (install.sh) but got failed with "required file not found"
Author
Owner

@anotherdoesnm commented on GitHub (Feb 4, 2026):

Image
<!-- gh-comment-id:3845473148 --> @anotherdoesnm commented on GitHub (Feb 4, 2026): <img width="720" height="1600" alt="Image" src="https://github.com/user-attachments/assets/05c067ac-1a99-4b61-acd0-82ef7c83f144" />
Author
Owner

@shuv-amp commented on GitHub (Feb 19, 2026):

Hi @mchiang0610 - if this is still available, I would like to take it.

From the report, this looks like a launch-path edge case for npm-installed Claude binaries (Linux/Termux path).

I can put up a small PR scoped to cmd/config/claude.go (path discovery/launch handling) with a regression test in cmd/config/claude_test.go.

I do not see an open PR linked to #14048. If you would prefer to keep this internal, no problem and I will pick another issue.

<!-- gh-comment-id:3929091072 --> @shuv-amp commented on GitHub (Feb 19, 2026): Hi @mchiang0610 - if this is still available, I would like to take it. From the report, this looks like a launch-path edge case for npm-installed Claude binaries (Linux/Termux path). I can put up a small PR scoped to `cmd/config/claude.go` (path discovery/launch handling) with a regression test in `cmd/config/claude_test.go`. I do not see an open PR linked to #14048. If you would prefer to keep this internal, no problem and I will pick another issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#55693