Answer the question
In order to leave comments, you need to log in
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:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question