-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Swiper´s version 8.2.3 broken on Angular 13 #5791
Comments
I have the same issue with 8.1.5. Tried to downgrade and to upgrade to other versions - no success. Even those of our app versions which worked well before can no longer be built! |
Same here. Any help on this please? |
Did you try to install version 8.2.4? It works for me now. |
Same error with 8.2.4 too :( |
I can't understand why but only works sometimes. Randomly. I dont know if its kinda related with npm caching, but I can't find a fix and can't reproduce also :( |
I'm using NX (workspaces). Can be related with it? |
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/heuristic-yalow-0k5bi9?file=/package.json
Bug description
Using swiper´s version 8.2.3 on Angular 13 crashes a clean project displaying "Error: Module build failed" .
Expected Behavior
On a fresh-clean install of Angular project, installing swiper´s library and importing SwiperModule on app.module.ts, it should be working correctly as expected.
Actual Behavior
When I create a clean project on Angular 13 and install only the swiper´s library through npm with version "^8.2.3" and try to import it on the app.module.ts, it crashes my project and displays an error and angular fails to compile it.
Here's a pastebin with the error logs:
Pastebin of the errors log on terminal
There´s not issue when you make a rollback with the previous version like 8.2.2
Swiper version
8.2.3
Platform/Target and Browser Versions
Web
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: