在使用create-react-app创建项目时,控制台爆出这个错误 A template was not provided. This is likely because you're using an outdated version of create-react

在使用create-react-app创建项目时,控制台爆出这个错误 A template was not provided. This is likely because you're using an outdated version of create-react

 

 解决方案:

1.卸载老版本

npm uninstall -g create-react-app

2.安装新版本

npm install -g create-react-app

3.如果出现/usr/local/bin/create-react-app)类似的提示解决方案

请运行rm -rf /usr/local/bin/create-react-app

在使用create-react-app创建项目时,控制台爆出这个错误 A template was not provided. This is likely because you're using an outdated version of create-react

上一篇:day01基于ECS搭建FTP服务


下一篇:async/await:让异步编程更简单,全方位讲解,手把手教你能不会?