I'm trying to add react slick to my Astro project and I keep getting this error message -( Error - Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. )-
It works as expected when I load it up locally but it seems to crash when I deploy it on netlify. I've tried to use both astro build and npm run build in the build settings.