Hostname/IP does not match certificate's altnames: Host: registry.cnpmjs.org. is not in the cert's altnames: DNS:r.cnpmjs.org

时间:2020-06-11 13:50:14   收藏:0   阅读:657

第一步 :

尝试使用   

npm set strict-ssl false   

本人亲测有效,如果报相同的错误可以尝试使用
npm config set registry http://registry.npmjs.org/
 

原文:https://www.cnblogs.com/xscn1230/p/nuonuo1230.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!