您的位置:首页 > 产品设计 > UI/UE

安装npm install报错npm ERR! request to https://registry.cnpmjs.org/@jeecg%2fantd-online-mini failed, rea

2020-08-21 16:05 2131 查看

先是下载cnpm然后报错,不是外部命令然后我用npm uninstall cnpm -g删除了,在用npm install的时候就报错了
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.cnpmjs.org/@jeecg%2fantd-online-mini failed, reason: Hostname/IP does not match certificate’s altnames: Host: registry.cnpmjs.org. is not in the cert’s altnames: DNS:r.cnpmjs.org
然后用npm config set strict-ssl false 就可以了

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐