React native web error: __vite_ssr_import_0__.default is not a function #1637
Unanswered
zoriya
asked this question in
Help & Questions
Replies: 2 comments 18 replies
-
I don't think this is related to Vike, but let me know if you have evidence that links this to Vike. |
Beta Was this translation helpful? Give feedback.
16 replies
-
Is there a go-to way of fixing esmodules upstreams? For example, I could not find a way to ignore this locally (via a vite option or using bun) and I don't know what's the way to fix upstream. Note that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
To reproduce:
Simply clone the repro from: https://github.com/zoriya/vike-react-native-web-bug
OR:
yarn create @batijs/app --react
)ssr: false
is set in the +configIf ssr is enabled (
ssr: true
in +config), the following error happens (please note that usingssr.noExternal
orvite-plugin-cjs-interop
does not fix the issue):Beta Was this translation helpful? Give feedback.
All reactions