We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING in [...]node_modules/ng2-charts/ivy_ngcc/fesm2015/ng2-charts.js depends on 'chart.js'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
npm start
The text was updated successfully, but these errors were encountered:
charts.js aim to fix this in v3: chartjs/Chart.js#7550 (comment)
charts.js
Temporary fix: Add charts.js to the list of allowedCommonJsDependencies in angular.json (PR #118)
allowedCommonJsDependencies
angular.json
Proper fix: Wait for v3 of package
Sorry, something went wrong.
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... valor-software/ng2-charts#1214
#183 - Updated Chart component to latest v2. waiting for v3, see
b91f31f
Pear-Trading/FoodLoop-Web#119 valor-software/ng2-charts#1214
Successfully merging a pull request may close this issue.
Full Warning
Steps to Replicate
npm start
The text was updated successfully, but these errors were encountered: