Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module '"swiper/types"' has no exported member 'SwiperOptions'. #659

Open
bebofit opened this issue Sep 12, 2023 · 5 comments
Open

Module '"swiper/types"' has no exported member 'SwiperOptions'. #659

bebofit opened this issue Sep 12, 2023 · 5 comments

Comments

@bebofit
Copy link

bebofit commented Sep 12, 2023

hello I have been trying to upgrade my proejct to latest ionic2-calendar but for some reason it cant detect swiper SwiperOptions.

I am using
"@angular/core": "^16.2.4",
"@ionic/angular": "^7.3.3",
"swiper": "^10.2.0",
"ionic2-calendar": "^2.1.0",

@porterwilcox
Copy link

Ditto

@porterwilcox
Copy link

Downgrading to v2.0.0 allowed the application to build but the calendar UI doesnt work at all. nothing displays

@porterwilcox
Copy link

Temporarily removed the type import in the day, week, month files to get this working and used any

@chabaudC
Copy link

chabaudC commented Nov 22, 2023

Up @twinssbc still the same issue with the 2.2.0
"@angular/core": "^16.2.10",
"@ionic/angular": "^7.5.5",
"swiper": "^11.0.4",
"ionic2-calendar": "^2.2.0",

@twinssbc
Copy link
Owner

twinssbc commented Dec 2, 2023

Up @twinssbc still the same issue with the 2.2.0 "@angular/core": "^16.2.10", "@ionic/angular": "^7.5.5", "swiper": "^11.0.4", "ionic2-calendar": "^2.2.0",

Although not related, ionic2-calendar 2.2.0 requires angular 17.
I do see SwiperOptions is exported in the swiper/types/index.d.ts.

export * from './swiper-options.d.ts';

Could you share your entire package.json so that I can test at my side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants