openclaw - 💡(How to fix) Fix [Bug]: `pnpm add -g openclaw@latest` still fails on a fresh VM [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#51489Fetched 2026-04-08 01:10:32
View on GitHub
Comments
1
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×2closed ×1commented ×1locked ×1

I'm new here, new VM with pnpm and node v24.14.0

pnpm add -g openclaw@latest
 ENOENT  Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT

This error happened while installing the dependencies of [email protected]
 at @whiskeysockets/[email protected]

pnpm: Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

A duplicate of #5010 & #12841 still not solved?

Error Message

This error happened while installing the dependencies of [email protected]

Root Cause

I'm new here, new VM with pnpm and node v24.14.0

pnpm add -g openclaw@latest
 ENOENT  Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT

This error happened while installing the dependencies of [email protected]
 at @whiskeysockets/[email protected]

pnpm: Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

A duplicate of #5010 & #12841 still not solved?

Code Example

pnpm add -g openclaw@latest
ENOENTCommand failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT

This error happened while installing the dependencies of openclaw@2026.3.13
 at @whiskeysockets/baileys@7.0.0-rc.9

pnpm: Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

---
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

I'm new here, new VM with pnpm and node v24.14.0

pnpm add -g openclaw@latest
 ENOENT  Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT

This error happened while installing the dependencies of [email protected]
 at @whiskeysockets/[email protected]

pnpm: Command failed with ENOENT: git ls-remote https://github.com/whiskeysockets/libsignal-node.git HEAD HEAD^{}
spawn git ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

A duplicate of #5010 & #12841 still not solved?

Steps to reproduce

pnpm add -g openclaw@latest

Expected behavior

install it

Actual behavior

fail to install...

OpenClaw version

2026.3.13

Operating system

debian

Install method

pnpm

Model

no model

Provider / routing chain

no chain

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

The fix involves installing Git and configuring the system to recognize the Git installation.

  • Install Git:
    • On Debian, run sudo apt-get update followed by sudo apt-get install git in the terminal.
  • Configure the system to recognize the Git installation:
    • Ensure the Git installation directory is in the system's PATH environment variable.
  • Verify Git installation:
    • Run git --version in the terminal to check if Git is installed correctly.

Example code to install and verify Git installation:

# Install Git
sudo apt-get update
sudo apt-get install git

# Verify Git installation
git --version

After installing Git, try installing openclaw again using pnpm add -g openclaw@latest.

Verification

To verify the fix, check if openclaw installs successfully after installing Git. Run pnpm add -g openclaw@latest and look for a success message.

Extra Tips

  • Ensure you have the latest version of pnpm installed.
  • If you're behind a proxy, configure Git to use the proxy.
  • If issues persist, try reinstalling node and pnpm.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

install it

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: `pnpm add -g openclaw@latest` still fails on a fresh VM [1 comments, 1 participants]