Skip to content
Back

Sveltekit + Bun sites runtime not deploying

  • 0
  • Sites
  • Cloud
x
20 May, 2026, 14:57

anyone tried deploying sveltekit + bun sites? its building but not running, and the only thing from build console to value is

TypeScript
> 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 ]

 94const { 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

TL;DR
Developers are experiencing deployment issues with Sveltekit + Bun sites. The error message points to an unresolved import related to 'async_hooks,' causing the runtime to not deploy properly. Switching to the node-adapter does not resolve the issue either.
x
20 May, 2026, 14:58

Sveltekit + Bun sites runtime not deploying

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more