简体   繁体   中英

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.

There were a number of dependencies that didn't get installed when loading the webpack-dev-server.

I get the following error when I try to 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"

运行npm install babel-preset-react-app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM