Uncaught ReferenceError: KTUtil is not defined
Hi Guys I am installing the theme from demo19 from my Metronic 8 purchase.
But I am hitting a snag,
Error Uncaught ReferenceError: KTUtil is not defined
I removed unnecessary HTML from the screenshot above to show naked code and show that I've included the libraries but it's throwing an error.
Please help thanks in advance.
Also tried to compile it via webpack got this error
Note on the package.json file. This step is very important for Webpack in the Metronic template. The default package.json works for Gulp. To make it work for Webpack, you have to modify tools/package.json and remove
"type": "module". Otherwise, it will cause a compilation error when running the next command.
For more information, please check the documentation here.