A
A
Artem Rassadin2022-04-02 12:24:20
React
Artem Rassadin, 2022-04-02 12:24:20

Webpack throws an error immediately after creating a react application. Why?

Good day! I got a very strange problem. I write npx create-react-app app-name. Then I run react with npm start command and writes the following error.
6248161a8190c503664217.png
I want to say right away that the error is not related to the version of react 18.0. Tried to install other versions - same error. What could be the problem and how to fix it?
PS however react opens the app in the browser and continues to run.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Rassadin, 2022-04-02
@Artyom02

Solution: There is a " # " character in the path. Because of it, webpack cannot correctly understand the path.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question