[Chartjs]-Problem with primeNG chart: Module not found: Error: Can't resolve 'chart.js/auto'

3👍

It depends on the version of angular you are using. Chart.js was updated to 3.3.2 in primeng 12.1.0

Follow this link for the migration guide
https://github.com/primefaces/primeng/wiki/Migration-Guide#1210

If you have any customized classes which use chart.js you may need to have a look at this too https://www.chartjs.org/docs/latest/migration/v3-migration.html

Leave a comment