npm run start错误
来源:2-1 用 Create React App 初始化项目

扭纹柴
2021-04-01
运行 npm run start 的时候报了如下错误:
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"babel-loader": "8.1.0"
不知道为何在项目依赖目录里面没找到这个包。然后抱着试试看的心态删除了全局依赖目录再start就跑通了,摸不着🧠
写回答
1回答
-
Nolan
2021-04-08
是不是混用了yarn 和 npm了?我也不太确定,没遇到过
00
相似问题