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

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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