When I use recharts with react
import {LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend} from 'recharts';
and then
"npm run-script build"
I got this error
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/d3-array/src/count.js:2
Anyone can help me? Thanks a lot.