[PR #14888] [MERGED] cmd/launch: check for both npm and git before installing OpenClaw #14897

Closed
opened 2026-04-13 01:05:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14888
Author: @BruceMacD
Created: 3/16/2026
Status: Merged
Merged: 3/18/2026
Merged by: @BruceMacD

Base: mainHead: brucemacd/openclaw-needs-git


📝 Commits (3)

  • 475a7d2 cmd/launch: check for both npm and git before installing OpenClaw
  • 6684b6b cmd/launch: update test to match new dependency error message
  • fd00044 Update openclaw.go

📊 Changes

2 files changed (+12 additions, -8 deletions)

View changed files

📝 cmd/launch/launch_test.go (+1 -1)
📝 cmd/launch/openclaw.go (+11 -7)

📄 Description

The OpenClaw installer requires git in addition to npm. Update the dependency check to detect both and provide specific install guidance for whichever dependencies are missing.

❯ ./ollama launch openclaw
Error: launching openclaw: openclaw is not installed and required dependencies are missing

Install the following first:
  npm (Node.js): https://nodejs.org/
  git: https://git-scm.com/

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14888 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 3/16/2026 **Status:** ✅ Merged **Merged:** 3/18/2026 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/openclaw-needs-git` --- ### 📝 Commits (3) - [`475a7d2`](https://github.com/ollama/ollama/commit/475a7d2eb3e1e6024a650c6abd9c3bf246d87016) cmd/launch: check for both npm and git before installing OpenClaw - [`6684b6b`](https://github.com/ollama/ollama/commit/6684b6b6e0b1a197d895fd32ad72ae8490836f5d) cmd/launch: update test to match new dependency error message - [`fd00044`](https://github.com/ollama/ollama/commit/fd0004416e24e4adaada305dcb7cf8dae60ec480) Update openclaw.go ### 📊 Changes **2 files changed** (+12 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/launch_test.go` (+1 -1) 📝 `cmd/launch/openclaw.go` (+11 -7) </details> ### 📄 Description The OpenClaw installer requires git in addition to npm. Update the dependency check to detect both and provide specific install guidance for whichever dependencies are missing. ```bash ❯ ./ollama launch openclaw Error: launching openclaw: openclaw is not installed and required dependencies are missing Install the following first: npm (Node.js): https://nodejs.org/ git: https://git-scm.com/ ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 01:05:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14897