openclaw - 💡(How to fix) Fix [Bug]: Install Problem about ssh://[email protected]/whiskeysockets/libsignal-node.git [6 comments, 3 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#52110Fetched 2026-04-08 01:15:32
View on GitHub
Comments
6
Participants
3
Timeline
10
Reactions
0
Timeline (top)
commented ×6labeled ×2closed ×1locked ×1
{\__/}
(● .●)
/ >>> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://[email protected]/whiskeysockets/libsignal-node.git
npm error [email protected]: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.
npm error A complete log of this run can be found in: /Users/bot/.npm/_logs/2026-03-22T05_55_29_242Z-debug-0.log
<img width="1128" height="424" alt="Image" src="https://github.com/user-attachments/assets/ec8413a6-08b8-434d-abad-56dd9e1a5874" />

Error Message

npm error code 128 npm error An unknown git error occurred npm error command git --no-replace-objects ls-remote ssh://[email protected]/whiskeysockets/libsignal-node.git npm error [email protected]: Permission denied (publickey). npm error fatal: Could not read from remote repository. npm error npm error Please make sure you have the correct access rights npm error and the repository exists. npm error A complete log of this run can be found in: /Users/bot/.npm/_logs/2026-03-22T05_55_29_242Z-debug-0.log

Root Cause

{\__/}
(● .●)
/ >>> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://[email protected]/whiskeysockets/libsignal-node.git
npm error [email protected]: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.
npm error A complete log of this run can be found in: /Users/bot/.npm/_logs/2026-03-22T05_55_29_242Z-debug-0.log
<img width="1128" height="424" alt="Image" src="https://github.com/user-attachments/assets/ec8413a6-08b8-434d-abad-56dd9e1a5874" />

Code Example

{\__/}
(.)
/ >>> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://git@github.com/whiskeysockets/libsignal-node.git
npm error git@github.com: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.
npm error A complete log of this run can be found in: /Users/bot/.npm/_logs/2026-03-22T05_55_29_242Z-debug-0.log

---

npm i -g openclaw

---
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Summary

{\__/}
(● .●)
/ >>> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://[email protected]/whiskeysockets/libsignal-node.git
npm error [email protected]: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.
npm error A complete log of this run can be found in: /Users/bot/.npm/_logs/2026-03-22T05_55_29_242Z-debug-0.log
<img width="1128" height="424" alt="Image" src="https://github.com/user-attachments/assets/ec8413a6-08b8-434d-abad-56dd9e1a5874" />

Steps to reproduce

just use command install openclaw:

npm i -g openclaw

Expected behavior

install normal to success

Actual behavior

break installation and can't continue

OpenClaw version

2026.3.13

Operating system

macOS 13.7.8 (22H730)

Install method

No response

Model

no

Provider / routing chain

no

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

To resolve the npm error code 128 issue due to a permission denied error when trying to access the GitHub repository, follow these steps:

  • Generate SSH keys:
    1. Open Terminal on your macOS.
    2. Run ssh-keygen -t ed25519 (or ssh-keygen -t rsa -b 4096 if you prefer RSA keys).
    3. Follow the prompts to save the key (default location is ~/.ssh/id_ed25519 or ~/.ssh/id_rsa).
  • Add SSH key to GitHub:
    1. Log in to your GitHub account.
    2. Go to your account settings > SSH and GPG keys.
    3. Click "New SSH key".
    4. Give your key a label and paste the contents of ~/.ssh/id_ed25519.pub (or ~/.ssh/id_rsa.pub) into the key field.
  • Configure SSH to use the new key:
    1. Run eval "$(ssh-agent -s)"
    2. Run ssh-add ~/.ssh/id_ed25519 (or ssh-add ~/.ssh/id_rsa)
  • Try installing OpenClaw again:
    1. Run npm i -g openclaw

Example code to verify SSH connection:

This should print "Hi <your_username>! You've successfully authenticated..." if everything is set up correctly.

Verification

After completing these steps, try running npm i -g openclaw again to verify that the installation succeeds.

Extra Tips

  • Make sure you have the latest version of npm and Node.js installed.
  • If you're behind a firewall or proxy, you may need to configure your SSH client to use a different port or proxy server.
  • Consider using a package manager like Homebrew to install OpenClaw instead of npm.

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 normal to success

Still need to ship something?

×6

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

Back to top recommendations

TRENDING