在使用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

原文地址:https://www.cnblogs.com/gzw-23/p/12864670.html