首页 > 移动平台 > 详细

在使用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:14:48      阅读:81      评论:0      收藏:0      [点我收藏+]

技术分享图片

 

 解决方案:

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!