Error compiling Swiper CSS

I’m using the famous library Swiper. I include its css in my main.scss like this:

// Swiper
@import "../../../../node_modules/swiper/dist/css/swiper";

but the terminal says:

Building sites … **ERROR** 2018/11/05 20:47:35 error: failed to transform resource: SCSS processing failed: file "stdin", line 57, col 1: File to import not found or unreadable: ../../../../node_modules/swiper/dist/css/swiper.

it’s because I’m trying to load a .css file instead of an .scss file (Swiper doesn’t provide an scss but only a css) and scss want you to load only scss, not css.
So, yes, the guilty is Swiper but the fact is that using Gulp this error didn’t block the server. It was simply a warning.

Is there a way to solve this? Thanks

We would need to see your site code in order to troubleshoot this. Please see the Requesting Help wiki.