I am new in svelte.js. help me please to fix it
Here, when I import the swiper carousel at my .svelte file. it shows me this error which is
[rollup-plugin-svelte] The following packages did not export their
package.json
file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
Screenshot of Terminal Error. Please check this
This is my code file. here is another component of a carousel slider. but I am seeing this picture when I import the swiper carousel.
<script>
import { Swiper, SwiperSlide } from "swiper/svelte";
import PorfolioCard from "./../components/porfolio-card.svelte";
import SectionTitle from "./../components/sectionTitle.svelte";
import "swiper/css";
</script>
<section id="portfolio">
<SectionTitle title="My Portfolio" subtitle="Visit My Portfolio And Keep your feedback" />
<div class="mt-4 px-1 px-md-3 px-lg-5">
<Swiper>
<SwiperSlide>
<PorfolioCard />
</SwiperSlide>
<SwiperSlide>
<PorfolioCard />
</SwiperSlide>
<SwiperSlide>
<PorfolioCard />
</SwiperSlide>
<SwiperSlide>
<PorfolioCard />
</SwiperSlide>
<SwiperSlide>
<PorfolioCard />
</SwiperSlide>
</Swiper>
</div>
</section>