I
I
Ilya Kuminov2021-02-24 09:02:53
React
Ilya Kuminov, 2021-02-24 09:02:53

Why doesn't my ReactJS app work?

I will describe briefly, the application on ReactJS does not work.
The problem is, when I use "npm run build" it is going to my "build" folder, after which I take any hosting and launch the site through Filezilla, the first page of the site works, but I cannot go to the rest of the pages, it says that " The requested URL was not found on this server." prescribed a bunch through react-router-dom.

I suspect that the problem is on the hosting side. Share any ideas on how this can be solved, I will try everything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Nanavov, 2021-02-24
@Minister21

This video shows how to solve this problem (near the end of the video)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question