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

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

 

 

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

npm config set registry https://registry.npm.taobao.org
相关文章
相关标签/搜索