Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Unhandled Exception #228

Open
toddpratt opened this issue Feb 20, 2019 · 1 comment
Open

Unhandled Exception #228

toddpratt opened this issue Feb 20, 2019 · 1 comment

Comments

@toddpratt
Copy link

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"
]
}

@aarongreenwald
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants