anyone tried deploying sveltekit + bun sites? its building but not running, and the only thing from build console to value is
> Using svelte-adapter-bun
.svelte-kit/adapter-bun/entries/hooks.server.js (94:45) [UNRESOLVED_IMPORT] Warning: Could not resolve 'async_hooks' in .svelte-kit/adapter-bun/entries/hooks.server.js
╭─[ .svelte-kit/adapter-bun/entries/hooks.server.js:94:46 ]
│
94 │ const { AsyncLocalStorage } = await import("async_hooks");
│ ──────┬──────
│ ╰──────── Module not found, treating it as an external dependency
────╯
which is of no help, doesnt work with node-adapter either, when set to bun runtime
Sveltekit + Bun sites runtime not deploying
i dont think sveltekit is officially supported by sites
yet
I uploaded prebuilt version and it should run just by Bun ./index.js not sure what is the issue there, no error or warning in log, works fine locally, but local Bun is 1.3.14 and Cloud is on 1.3.8
But the main Appwrite Console is made with sveltekit and is hosted on Appwrite
Recommended threads
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...