The console shows the following error:
"Uncaught SyntaxError: expected expression, got '< ' '"
The screen shot of the error is attached below for reference, please. Would be of great help if someone knows the solution to this issue or have faced similar sort of problem with the newest version of node. For error details please click here
To resolve the issue, I've already tried the following:
npm cache clean -f
npm install -g n
If anyone gets the solution, please share with the community.
Well, after some efforts I've been able to resolve the issue by un-installing the latest version of node as its on trial and testing phase right now.
Ran the following commands and issue got resolved.
sudo apt-get remove nodejs
sudo n 11.14.0
Remember to uninstall the node_modules folder and run npm install to install the new one. Got my app fixed through these steps.