react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

Unhandled Exception

Open toddpratt opened this issue 6 years ago • 1 comments

TypeError: (new Chart(...))[chartType] is not a function

This is what I'm using:

{ "name": "ui", "version": "0.1.0", "private": true, "dependencies": { "chart.js": "^2.7.3", "react": "^16.8.1", "react-chartjs": "^1.2.0", "react-dom": "^16.8.1", "react-scripts": "2.1.5", "reactstrap": "^7.1.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": "react-app" }, "browserslist": [ ">0.2%", "not dead", "not ie <= 11", "not op_mini all" ] }

toddpratt avatar Feb 20 '19 01:02 toddpratt

I had the same issue, downgrading to [email protected] fixed it.

aarongreenwald avatar Mar 01 '19 15:03 aarongreenwald