解决方案:
npm config set strict-ssl false
cnpm config set strict-ssl false
切换淘宝源,使用 (gzip 压缩支持) 命令行工具代替默认的 npm:
npm
npm install -g cnpm --registry=https://registry.npm.taobao.org
转载于:https://www.cnblogs.com/veritas-sj/p/101373.html
因篇幅问题不能全部显示,请点此查看更多更全内容