Closed abelmo closed 1 year ago
Just to add this person seems to have a similar issue albeit different line at e (nivo-bar.es.js:477:1) https://stackoverflow.com/questions/75051566/bar-chart-not-rendering-in-react-using-the-nivo-library
Im also having this issue, example code in the docs triggers the result. Any help would be massively appreciated
Dependencies:
"dependencies": {
"@nivo/bar": "^0.80.0",
"@nivo/core": "^0.80.0",
"@nivo/pie": "^0.80.0",
"@reduxjs/toolkit": "^1.8.6",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.2.2",
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-bootstrap": "^2.5.0",
"react-csv": "^2.2.2",
"react-dom": "^18.2.0",
"react-modal": "^3.15.1",
"react-pdf": "^5.7.2",
"react-redux": "^8.0.4",
"react-router-dom": "^6.4.2",
"react-scripts": "^2.1.3",
"react-table": "^7.8.0",
"redux-thunk": "^2.4.2",
"tabler-icons-react": "^1.56.0",
"web-vitals": "^2.1.4"
}
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
Describe/explain the bug Adding any sort of bar chart (Bar, ResponsiveBar, CanvasBar) causes the below error. Version used is 0.80.0. Other charts work as expected (e.g Pie, Bullet)
My package.json if it's any use:
To Reproduce I'm unable to reproduce on codesandbox. I noticed the CanvasBar works if I downgrade to nivor/bar@0.63.0 but Bar/ResponsiveBar still throw same error.
Expected behavior Bar charts to render without the above error.
Desktop (please complete the following information):
Additional context I cannot find anything online and i've spent hours trying different versions and combinations with no luck.