Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Stackblitz problem referencing Swiper module in an Angular 15 project

Writer Sophia Terry

I want to install and use Swiper in a my Stackblitz, but I can't reference it in my component without it erroring out!

Here is what I did so far.

  1. Took this Stackblitz found already created with Angular 15
  2. Typed in swiper in the dependency area where it says 'enter package name' to install it. Looks like no errors and I can see the swiper 8.4.0 reference in the dependency area.
  3. In the app.module.ts file I added the reference and import name like this:

import { SwiperModule } from "swiper/angular";

imports: [ BrowserModule, FormsModule, SwiperModule ],

And it gives me this error:

Can't find package: swiper_angular

enter image description here

Reference:

Here is the swiper site that shows how to install swiper into Angularswiperjs angular installalation

Here is another Stackblitz using Angular 11 that calls and uses swiper successfullyStackblitz using Angular 11 with Swiper

Related questions 6 Configure Okta to Mediate between our SP Application and IdP 0 IdP initiated flow - Identify okta account 10 Okta Authentication, Cannot GET /implicit/callback Related questions 6 Configure Okta to Mediate between our SP Application and IdP 0 IdP initiated flow - Identify okta account 10 Okta Authentication, Cannot GET /implicit/callback 1 React application hosted in S3 bucket with OKTA OIDC Authorization grant with PKCE flow (AuthSdk error) 0 IDP initiated SSO fails with OKTA as an IDP in Azure 1 Change ReactJS Okta Authentication from OAuth 2.0 to SAML 2.0 2 OkTA SAML integration with React Native 0 how to successfully login to application using okta idp initiated login 0 Integration testing Okta app with PKCE flow 2 Is it possible to implement open id connect SSO in ReactJS with IDP independent code? Load 7 more related questions Show fewer related questions Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.