初始化 React 项目失败,解决方法

初始化 React 项目失败,提示如下:

 

 

1. 由于网络原因,某些依赖包加载失败,解决方法:设置 npm 镜像为 cnpm

npm config set registry https://registry.npm.taobao.org



posted @ 2019-07-05 11:10  SRH啦  阅读(423)  评论(0编辑  收藏  举报