[英]Error: Module build failed: Error: Couldn't find preset “react-app” relative to directory “/[project] frontend”
I am following the tutorials to create a react app using create-react-app. 我正在按照教程使用create-react-app创建React应用。
There were a number of dependencies that didn't get installed when loading the webpack-dev-server. 加载webpack-dev-server时,有许多未安装的依赖项。
I get the following error when I try to npm run start. 当我尝试npm run start时出现以下错误。
What does this mean and can anyone tell me what is needed to fix it? 这是什么意思,谁能告诉我解决该问题需要什么?
Module build failed: Error: Couldn't find preset "react-app" relative to directory "/[Proeject folder]/frontend" 模块构建失败:错误:找不到相对于目录“ / [Proeject文件夹] / frontend”的预设“ react-app”
运行npm install babel-preset-react-app
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.