DavideViolante / chartjs-plugin-labels

Plugin for Chart.js to display percentage, value or label in Pie or Doughnut.
MIT License
55 stars 18 forks source link

"npm i chart.js-plugin-labels-dv " not working #16

Closed miteshkhatri closed 1 year ago

miteshkhatri commented 1 year ago
PS E:\sitafront\SitaFrontend-main> npm i chart.js-plugin-labels-dv
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: acme@0.1.0
npm ERR! Found: chart.js@2.9.4
npm ERR! node_modules/chart.js
npm ERR!   chart.js@"^2.8.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer chart.js@"^3.9.1" from chart.js-plugin-labels-dv@3.2.0
npm ERR! node_modules/chart.js-plugin-labels-dv
npm ERR!   chart.js-plugin-labels-dv@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.