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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM