xOriginal post
Rank 2: Process
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
Summary
Sveltekit + Bun sites runtime not deploying. Sveltekit may not be officially supported by sites yet. Issue with deploying prebuilt version using `bun ./index.js`. No error or warning in logs. Works fine locally with Bun 1.3.14, but cloud is on 1.3.8. Appwrite Console is made with Sveltekit and hosted on Appwrite.