-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: zlib.createBrotliDecompress is not implemented #7248
Comments
Having the same issue here: sueszli/notionBackup#4 |
same |
zlib.brotliCompress is not implemented :( |
to everyone that just stumbled upon this issue and is wondering what else isn't implemented: https://bun.sh/docs/runtime/nodejs-apis |
is there any way to get this to work without having to wait for a fix to get merged in ? thanks! |
@Robert27 I definitely don't think this should be closed ... it's a major issue/annoyance when trying to switch to bun... |
+1 having issues still in 1.1.3 |
+1 |
As said above it’s closed because it’s a duplicate of #267 |
+1 |
1 similar comment
+1 |
same |
I've had a bunjs fargate task run daily for the past two months which is now suddently failing after a rebuild but no code change on this error in relation to Axios. Based on the recent influx of comments on this and #267 it feels like something somewhere has changed for the worse but i'm not sure specifically what. |
changing Worth noting that i did not check other versions than 1.1.3, it could be that a more recent version also works, apart from latest. |
Can confirm something in later versions of Bun has caused this to break |
same |
What version of Bun is running?
1.0.13+1b8d7d5cb
What platform is your computer?
Linux 5.15.0-87-generic x86_64 x86_64
What steps can reproduce the bug?
bun install
node server.js
(server will be listening on port 3000)bun client.js
What is the expected behavior?
Console output: 200 Long text to trigger brotli compression
You can run
node client.js
instead to see this textWhat do you see instead?
error: zlib.createBrotliDecompress is not implemented
at node:zlib:2266:64
at handleResponse (.../node_modules/axios/lib/adapters/http.js:510:25)
at .../node_modules/follow-redirects/index.js:368:4
at .../node_modules/follow-redirects/index.js:65:4
at node:http:905:28
at processTicksAndRejections (:61:76)
Additional information
Similar error will appear if you run
bun server.js
and try to request the content from http://127.0.0.1:3000/test.txterror: zlib.createBrotliCompress is not implemented
The text was updated successfully, but these errors were encountered: