C:\Users\Administrator>npm install -g openclaw
npm error code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm error errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm error request to https://registry.npmmirror.com/openclaw failed, reason: unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2026-03-07T17_18_17_448Z-debug-0.log
解决方法:

在命令符输入: npm config set strict-ssl false

然后再安装:npm install -g openclaw

安装完后在命令符输入恢复: npm config set strict-ssl true

Logo

小龙虾开发者社区是 CSDN 旗下专注 OpenClaw 生态的官方阵地,聚焦技能开发、插件实践与部署教程,为开发者提供可直接落地的方案、工具与交流平台,助力高效构建与落地 AI 应用

更多推荐