TL;DR: consuming a MongoDB Atlas Cluster, via the node driver and Deno's npm compat, seems to work fine at first, but after a while a TCP connection to Mongo is closed unexpectedly, causing the entire Deno process to crash.
Potentially related to issue #15824, but the mongodb driver cannot be used directly via Deno when targeting a MongoDB Atlas cluster. This was reported at NODE-4782 however it doesn't appear to ...
Consider this simple example of having a rust print function that calls a repr function on passed objects. As repr can be arbitrary Js code, it could throw an exception. Since the exception occurs ...
Despite access npm:mongodb in try/catch, runtime is throwing Uncaught error, whenever db drops the connection. error: Uncaught Error: read ECONNRESET at node_internal_captureLargerStackTrace (ext:d...
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.