P
P
pabadm2020-06-26 03:17:29
React
pabadm, 2020-06-26 03:17:29

How to build a React project (using create-react-app)?

In general, I create an application through npx create-react-app . . If I run it through yarn start , then everything works fine and is debugged in the browser in development mode.
But when I have to build the project with the yarn build command , errors appear in the console:

Loading

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Makarov, 2020-06-29
@kirbi1996

try this yarn run build

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question