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

时间:2020-05-10 21:26:13   收藏:0   阅读:186

技术图片

 

 解决方案:

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!