Replies: 2 comments 12 replies
-
The second error is related to installing multiple versions of vite, see #1015 (comment) |
Beta Was this translation helpful? Give feedback.
-
I've managed to get some things working by adding the compiler option Additionally, I seemed to need to add the following to wxt.config.ts within the vite configuration :
This seemed to remove the error of "lifecycle_function_unavailable mount(...) is not available on the server at lifecycle_function_unavailable". I'm still experimenting at the moment and don't quite have the reasoning for the fixes which is why I'm not able to explain the issue too well! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've just updated my chrome extension to Vite 6.01 and the latest wxt and have run into an issue and I thought I'd just post my initial in case anyone has any tips. It's really inadequately written up (I'm short on time this afternoon!) so I'll add some more detail later! :-)
Thanks all! :-)
I'm using svelte (latest) and have the following error logging in the console:
Uncaught (in promise) Svelte error: lifecycle_function_unavailable
mount(...)is not available on the server at lifecycle_function_unavailable
I've also got an error showing in the wxt.config.ts:
Type '() => { plugins: Plugin<any>[][]; }' is not assignable to type '(env: ConfigEnv) => WxtViteConfig | Promise<WxtViteConfig>'
Beta Was this translation helpful? Give feedback.
All reactions