[Chartjs]-How to resolve npm error needing an appropriate loader?

5👍

High chance you installed chartjs version 3. The vue wrapper is incompatibele with this version of chart.js and only supports the older version 2.

If you downgrade to version 2.9.4 by changing the version number in your package.json to 2.9.4 and run your install command again or remove the package and use the command install chart.js@2.9.4 . This will most likely resolve your issue

Leave a comment