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 ]
│
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
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.Sveltekit + Bun sites runtime not deploying
Recommended threads
- Domain is owned by a different organizat...
I was trying to add a domain to one of my projects however, it keeps giving me the error of Domain is owned by a different organization. I did have a self hoste...
- API key not having access to database
My api key with read and write access to row and tables and DB I not working. In my test the results returned an empty database. This is the second time I am...
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?