React: hot update was not successful

803 Views Asked by At

I'm running my WSO2 source code with IntelliJ and this command: "npm start". But when I run devportal this error appears. I change the node version, and also changed IDE. But this error still appears.

What is a solution for this error?

enter image description here

1

There are 1 best solutions below

0
nahid afzali On BEST ANSWER

At last, there was a problem with userTheme.js. The problem was that, in the devportal path, there was userTheme.json instead of userTheme.js. I found userTheme.js from the API-Manager folder and copy instead of JSON and it worked.