npm安装依赖报错

647 阅读1分钟

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

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

记录一下重置一下npm镜像仓库地址就好了