`swiper` Missing "./vue/swiper-vue.js" export
See original GitHub issueEnvironment
Nuxt CLI v3.0.0-27251455.110b2b2 07:15:02 RootDir: C:\Users\Andy\Desktop\test\lombakativ 07:15:03 Nuxt project info: 07:15:03
- Operating System:
Windows_NT
- Node Version:
v16.11.0
- Nuxt Version:
3.0.0-27251455.110b2b2
- Package Manager:
npm
- Bundler:
Vite
- User Config:
vite
,build
- Runtime Modules:
-
- Build Modules:
-
Describe the bug
fresh install , problem with only run dev…
WARN [SSR] Error transforming ./node_modules/swiper/vue/swiper-vue.js: Error: Missing "./vue/swiper-vue.js" export in "swiper" package 07:18:15
✔ Vite server built in 2694ms 07:18:15
✔ Nitro built in 248 ms 07:18:16
ERROR [uncaughtException] r.writeLatin1String is not a function
3.0.0-27246961.9d40a27 works good.
Reproduction
https://stackblitz.com/edit/github-ar5zza-xbrnjt?file=app.vue
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Unable to use swiper/vue dependencies not found
i try default import as per example but: These dependencies were not found: @/swiper/css in ./node_modules/cache-loader/dist/cjs.js??ref-- ...
Read more >No swiper.css · Issue #693 · surmon-china/vue ... - GitHub
No error when compile. What is actually happening? ERROR Failed to compile with 1 errors This dependency was not found: * swiper/css/swiper.
Read more >Swiper Vue.js Components
Swiper Vue.js plugin is available only via NPM as a part of the main Swiper library: ... swiper/vue exports 2 components: Swiper and...
Read more >vue-awesome-swiper - npm
Start using vue-awesome-swiper in your project by running `npm i ... it only re-exports swiper/vue , which means only functions of that ...
Read more >vue-awesome-swiper - npm Package Health Analysis - Snyk
Looks like vue-awesome-swiper is missing a security policy. You can connect your project's repository to Snyk to stay up to date on security...
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
I have managed to make a minimal reproduction of what happens:
https://stackblitz.com/edit/vite-gdnr9b?build.mjs&file=build.mjs
/cc @antfu Any clues what would be the root cause?
/cc @danielroe We need to change this workaround
at last v nuxt, working with build and start mode.