R
R
rmN132020-04-25 21:04:32
JavaScript
rmN13, 2020-04-25 21:04:32

Error in console when starting json-server?

Hello. When writing a small project in react, the json-server package was required. I installed it, but when I try to use it, I get an error in the console (screenshot attached). At first I tried to google for this error, and it seems like a problem with es6 modules, but I use the create-react-app utility and es6 modules work fine there. So, I would like to hear advice on how to fix such a problem, because. most of the answers on this topic are in English and I can’t catch the whole point.

Screenshot of the error from the console:
5ea47ba872023136349873.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question