-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: npm error code UNABLE_TO_VERIFT_LEAF_SIGNATURE #48117
Description
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