npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID报错

npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.cnpmjs.org/lodash 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 ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2020-09-01T01_05_51_932Z-debug.log

npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.cnpmjs.org/npm 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 ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2020-09-01T01_06_05_786Z-debug.log

在这里插入图片描述

欢迎大家进群探讨前端技术交流,仅限于技术交流,并无他意 。群号:954314851

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_48193717/article/details/108333979
今日推荐