|
Reproduction: https://stackblitz.com/edit/github-tuaskywc To me it looks like there are two copies of react: on in deps_ssr/chunk-S4QPGXQK.js and swiper-react.mjs loads Can someone guide me what could be the problem here? |
Answered by
hi-ogawa
Nov 14, 2025
Replies: 1 comment
|
This is same as #684 (comment). The package |
0 replies
Answer selected by
nsams
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is same as #684 (comment). The package
swiperdoesn't specifyreactin itsdependencies/peerDependencies, soreactversion is inherently ambiguous.On Vite RSC plugin, this can be workarounded by adding
noExternal: ['swiper']like https://stackblitz.com/edit/github-tuaskywc-r6idvqqa?file=vite.config.ts