-
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
Implement Node's "dns" module #288
Comments
Node's |
DX suggestion: Instead of
|
Same thing for mongodb:
|
This is happening because bun is yet to implement that part of the Node.JS API. This is not because you need to install them. These are modules supplied by NodeJS itself like the FS module. You can see here https://github.com/oven-sh/bun/tree/main/src/bun.js/node the current modules of Node.JS that Bun supports |
Mongoose requires DNS as well, so unable to use MongoDB from Bun. I don't know if there are other options to communicate with MongoDB from Bun? |
@sondreb https://github.com/erfanium/atlas_sdk should work if you are using Atlas |
PR 929 implements a DoH fallback against cloudflare. Note that after the patch, modules are still blocked by other issues like |
For informational purposes: the |
this issue still persists with v0.3.0 |
Jarred has shown interest in implementing this for v0.4.0, as it's required for Vite support. |
Does this now mean we'll get Vite support? 👀 |
Almost |
Apparently,
dns
module is not included on bun runtime. I got this issue when trying to use PostgreSQL (pg) package.pg version: ^8.7.3
Error message:
Script that I'm trying to run:
The text was updated successfully, but these errors were encountered: