denodrivers / denodrivers/mongo
Mongo Error on Deno runtime
- Dominant language
- TypeScript
- Stars
- 511
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I have tried to run a project on deno, but I receive the following error when trying to run it using "deno"
```javascript
error: Uncaught Error: MongoError: "Connection failed: Connection refused (os error 111)"
throw new MongoError(`Connection failed: ${e.message || e}`);
^
at MongoClient.connect (client.ts:93:15)
at async db.ts:5:12
```
### Note:
I have tried it several times but the problem still persists.
Thanks in advance
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the connection failure reported at client.ts:93 and the caller shown at db.ts:5. Reproduce the project under Deno with the reported MongoDB setup, then determine whether the refusal comes from the driver or the unavailable database connection. Done means the cause is identified and the issue has a confirmed, reproducible resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, mongodb, typescript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100