React使用create-react-app 创建项目失败,解决方法
运行命令npm install -g create-react-appcreate-react-app first-demo在SF上查到说是或许是因为国内npm拉去资源,拉去不到的问题,可以试着从解决创建create-react-app慢的方法着手:解决方法:/换源npm config set registry https://registry.npm.taobao.org//配置后通过以下方法验证是否成功npm config get registry再重新使用create.
原创
2021-02-24 16:41:13 ·
2703 阅读 ·
3 评论