npm 依赖下载报错 Hostname/IP does not match certificate‘s 相关 解决方案

npm set strict-ssl false
npm config set registry http://registry.npmjs.org/

参考链接

原文地址:https://www.cnblogs.com/xsnow/p/15351221.html