Node 不信任 Windows 系统 CA:unable to get local issuer certificate → --use-system-ca

Domain: network · Evidence E1 — Maintainer reviewed
nodejswindowstls

Summary

Windows 上 curl 能访问 GitHub/npm,但同一台机器 Node.js 的 fetch/https 全部失败:fetch failed,cause 为 Error: unable to get local issuer certificate。npm postinstall、插件安装器、模板克隆都会中…

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons