Swiper sass/scss


I’m trying to use swiper.js with my ionic 6 (angular) project. whenever i run the project i got the following error

SassError: Can't find stylesheet to import.
28 │ @import '~swiper/scss';

what kind of error is this ? i cant use autoplay, pagination or any other feature because of this error.
I’m not sure if I’m doing something wrong or im missing something. Any help is appreciated!

Not use ~

Swipe version 8.4.7

Try this…

/** Swiper use */
@import “swiper/scss”;
@import “swiper/scss/navigation”;
@import “swiper/scss/pagination”;