You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've tried to build my sveltekit project inside a dockerfile but stumbled onto an unimplemented function (is what it seems like?)
> [5/5] RUN bun run build:
2.815 > Using svelte-adapter-bun
2.828 error during build:
2.828 TypeError: undefined is not a function (near '...zlib.createBrotliCompress...')
2.828 at <anonymous> (/home/bun/app/node_modules/svelte-adapter-bun/index.js:144:18)
2.828 at compress_file (/home/bun/app/node_modules/svelte-adapter-bun/index.js:142:14)
2.828 at <anonymous> (/home/bun/app/node_modules/svelte-adapter-bun/index.js:133:2)
2.828 at map (:1:11)
2.828 at <anonymous> (/home/bun/app/node_modules/svelte-adapter-bun/index.js:133:2)
2.828 at processTicksAndRejections (:61:39)
2.852 error: script "build" exited with code 1 (SIGHUP)
This only happens when toggling the brotli precompression on, (for some reason it works on my local machine?) It seems like the Bun documentation also states that zlib.createBrotliCompress is unimplemented, I've also searched for the function inside the source code of Bun itself and only found type definitions for it.
The text was updated successfully, but these errors were encountered:
Hello, I've tried to build my sveltekit project inside a dockerfile but stumbled onto an unimplemented function (is what it seems like?)
This only happens when toggling the brotli precompression on, (for some reason it works on my local machine?) It seems like the Bun documentation also states that
zlib.createBrotliCompress
is unimplemented, I've also searched for the function inside the source code of Bun itself and only found type definitions for it.The text was updated successfully, but these errors were encountered: