[ ] Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
Hi, Im working using Nexjs on the Bar Chart & Doughnut Chart.
It is okay in development build (npm run dev)
But it breaking the application on the production Build (npm run build && npm run start), the Bar Chart is breaking.
It says RangeError: invalid digits value: NaN on the browser console.
Note: if I remove this component from pages, it is work.
Have you guys facing this issue before?
Would you like to work on a fix?
Current and expected behavior
Hi, Im working using Nexjs on the Bar Chart & Doughnut Chart. It is okay in development build (npm run dev) But it breaking the application on the production Build (npm run build && npm run start), the Bar Chart is breaking.
It says
RangeError: invalid digits value: NaN
on the browser console.Note: if I remove this component from pages, it is work. Have you guys facing this issue before?
Reproduction
npm run build && npm run start
chart.js version
v3.5.0
react-chartjs-2 version
v4.3.1
Possible solution
No response