Error connecting to mongoose when using deno cli
deno-x86_64-pc-windows-msvc v1.41.1
Testing the following code using
But when testing using
I get the message on the console
but not the
And after some time I get this error:
The same thing happens using
I'm starting the script as
I also tested running it as
Why do I get this error only on the CLI version?
Testing the following code using
nodejs and on deno deploy works correctly:But when testing using
deno cli it doesn't work.I get the message on the console
starting...but not the
connection error: neither Connected to MongoDBAnd after some time I get this error:
The same thing happens using
mongodb instead of mongoose:I'm starting the script as
I also tested running it as
admin, on the Mongo website I have all ip whitelistedWhy do I get this error only on the CLI version?
