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?
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.