安装出错 npm ERR! request to https://registry.cnpmjs.org/create-react-app failed

Posted PinkJoker

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装出错 npm ERR! request to https://registry.cnpmjs.org/create-react-app failed相关的知识,希望对你有一定的参考价值。

npm ERR! request to https://registry.cnpmjs.org/create-react-app failed, reason: Hostname/IP doesn't 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

以上是关于安装出错 npm ERR! request to https://registry.cnpmjs.org/create-react-app failed的主要内容,如果未能解决你的问题,请参考以下文章

转npm 安装express npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR! This is related to npm not being able to find a file.

“npm ERR!errno 3221225477”使用 oracledb 进行查询时节点出错

Linux下运行《UNIX环境高级编程》undefined reference to `err_quit 编译出错的处理方法