Skip to content

[Bug]: npm error code UNABLE_TO_VERIFT_LEAF_SIGNATURE #48117

@Scientist-Ma

Description

@Scientist-Ma

Bug type

Regression (worked before, now fails)

Summary

Fail to install openclaw in Powershell with iwr -useb https://openclaw.ai/install.ps1 | iex

Steps to reproduce

just excute iwr -useb https://openclaw.ai/install.ps1 | iex

Expected behavior

install successfully

Actual behavior

Failed. Details as follow:

PS C:\Users\AMD> iwr -useb https://openclaw.ai/install.ps1 | iex

OpenClaw Installer

[OK] Windows detected
[OK] Node.js v24.14.0 found
[*] Installing OpenClaw (openclaw@latest)...
npm.cmd : npm error code UNABLE_TO_VERIFY_LEAF_SIGNATURE
所在位置 行:474 字符: 22

  • ... npmOutput = & (Get-NpmCommandPath) install -g "$packageName@$Tag" 2>& ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (npm error code ..._LEAF_SIGNATURE:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError

OpenClaw version

2026.3.13

Operating system

Windows 11

Install method

iwr -useb https://openclaw.ai/install.ps1 | iex

Model

None

Provider / routing chain

None

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.regressionBehavior that previously worked and now failsstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions