Chartjs-ChartJS works with Angular 5 while developing, but ng build fails

0๐Ÿ‘

โœ…

Do you have the DefinatelyTyped definitions for chart.js included as dev dependencies?:

npm i --save-dev @types/chart.js

Example: https://stackblitz.com/edit/angular-v7uuuf

Leave a comment