There are errors in console:
Uncaught SyntaxError: Cannot use import statement outside a module
scripts.bundle.js:8280 Uncaught ReferenceError: $ is not defined
general.js:13 Uncaught ReferenceError: FormValidation is not defined
at handleValidation (general.js:13:9)
at Object.init (general.js:207:13)
at HTMLDocument.<anonymous> (general.js:220:21)
I cannot do any console log or anything, cannot log in, Please fix or do you guys have any quick fix for this?
it's something inside resources/mix/plugins.js i'm debugging i'll let know what i find
The problem is with chart.js plugin:
changing it with:
Solves the problem
Please apply the fix so others don't face this problem, Thank you!
Hello. I had the same problem. Although I installed Metronic version 8.2.1 many times, the problem was not fixed. The solution you mentioned worked for me. This fix needs to be released as soon as possible. Thx Carlos.
Thank you for identifying the issue. It seems like there is a problem with the Chart.js plugin in the recent version, which has led to this error. They appear to have renamed the file. We appreciate your feedback, and we will work on releasing a fix for this as soon as possible.
it does have chart.umd.js
in metronic its including a chart.js which doesn't exists
in version 3.6.0 it used to be chart.js but versions 4+ got renamed to chart.umd.js
you can check at the migration site:
dist/chart.js has been removed.
dist/chart.min.js has been renamed to dist/chart.umd.js.
Your clarification is much appreciated. We will make the necessary updates accordingly.