Open Rumperuu opened 3 years ago
charts.js
aim to fix this in v3: https://github.com/chartjs/Chart.js/issues/7550#issuecomment-649830607
Temporary fix: Add charts.js
to the list of allowedCommonJsDependencies
in angular.json
(PR #118)
Proper fix: Wait for v3 of package
add in angular.json "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "allowedCommonJsDependencies": ["chart.js"],
Chart.js 3.0 is released 😃
But the ng2-charts package isn't working with this version yet, looks like they are working on this... https://github.com/valor-software/ng2-charts/issues/1214
Full Warning
Steps to Replicate
npm start