score:0

please check your "chartsmodule" version in the package.json file and check whether it is supporting that or not. it might get updated.

if you wanted to use that code then you might need to downgrade or upgrade your version.

to update the version you can copy and paste the version number to your package.json file and run "npm i" to update it.

score:0

try using the same version of chart.js that was used, put the below version in the package.json and run npm i , might help

"chart.js": "^2.9.3"


Related Query