Describe/explain the bug
The lines on my ResponsiveLine component are messed up after upgrading to version 0.65.1. Just to make sure, I downgraded to 0.64.0 and the ResponsiveLine components looked great again.
Console Error with static site hosted locally or on Vercel
TypeError: r.willAdvance is not a function
To Reproduce
The easiest way is to clone the repo below and try running yarn prod with each version of @nivo/line and you'll see the problems with 0.65.1 locally. I also have this hosted on Vercel (with version 0.65.1).
Broken version hosted on Vercel
Github Repo

Thanks!
We switched to react-spring v9 and it is an issue there. We won't be able to fix it until they release a new version. There are some workarounds you can try in your project. https://github.com/pmndrs/react-spring/issues/1078
@p45mark we also have this issue and we fixed it by using this script, it should be run prior to build.
That fixed it for now, thank you both!
Most helpful comment
@p45mark we also have this issue and we fixed it by using this script, it should be run prior to build.