我正在学习 React,而且我的英语很差。我已经有两个反应项目,但它们也不起作用:(我按照以下步骤操作,
npx create-react-app my-app cd my-app npm start
但它不起作用。我尝试清理缓存并再次安装 npm 但没有成功。我该如何解决这个问题?
> my-app@0.1.0 start /Users/edu/Documents/htdocs/my-app
> react-scripts 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.0.5"
Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-loader was detected higher …Run Code Online (Sandbox Code Playgroud)