Build Error with swiper
See original GitHub issueDescribe the bug
Cannot build with swiper
Reproduction
Create a fresh vitejs app and add swiper
yarn add swiper
Go to App.vue
and simply load and call swiper
import { Swiper } from 'swiper'
console.log(Swiper)
Try to build
No Error with yarn dev
It’s apparently not a swiper issue
System Info
- required
vite
version: 1.0.0-rc4 - required Operating System: Linux Ubuntu
- required Node version: 12.11.1
Logs (Optional if provided reproduction)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'swiper/react' - Stack Overflow
Create React App doesn't support pure ESM packages yet. It is still possible to use Swiper (7.2.
Read more >swiper - npm
Swiper. Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior.
Read more >Set Up Swiper.js for React Slides [Example] - Ionic Framework
We recommend Swiper.js if you need a modern touch slider component. ... Not using Create React App? You can import the Swiper CSS...
Read more >Swiper is not defined Elementor 3.5 - WordPress.org
Hi, I updated to Elementor 3.5 and got an error for swiper. Swiper.js not load. ... Please make sure that all of your...
Read more >Swiper Changelog
a11y: fix JS error "swiper.a11y is undefined" (#6226) (02c1502); touch focusableElements jumps ... build-config: allow to custom modules by process.env.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ive try with
yarn clear cache
it’s seem to work now.Thanks for all !!
It seems to be a new error, I will check that later today.
I will keep you inform about any tips which could help you 😃