首页 > Web开发 > 详细

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      阅读:658      评论:0      收藏:0      [点我收藏+]

第一步 :

尝试使用   

npm set strict-ssl false   

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!