npm安装报错
npm ERR! request to https://registry.cnpmjs.org/element-ui failed, reason: Hostname/IP does not match certificate's altn ames: Host: registry.cnpmjs.org. is not in the cert's altnames: DNS:r.cnpmjs.org
报错原因: https的自签名失败
解决方法:终端输入: npm config set strict-ssl false
本文来自博客园,作者:甲辰哥来帮你算命,转载请注明原文链接:https://www.cnblogs.com/linboomboom/p/15097346.html