react运行报错:There might be a problem with the project dependency tree. It is likely not a bug in Creat

报错截图如下:

在这里插入图片描述

这个错误原因 react-script这个库不支持太高版本的babel-loader我们安装会8.1.0就可以了
解决方法

npm uninstall --save babel-loader
npm i --save-dev babel-loader@8.1.0

猜你喜欢

转载自blog.csdn.net/weixin_45264424/article/details/115081348