How to use slick-slider

I am using react-slick - npm package for slider, and I put slick css files in index.js as Global styles. but when we refresh the page its give me above error.
how to resolve this error, because I am not able to deploy the project with this error on Heroku.

thanks, I fixed it.