question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when i use mongo with the build

See original GitHub issue

I’m trying to deploy simple api (deno - opine - mongo), I get

error: Uncaught ReferenceError: default is not defined
const handler = mod.default;
                    ^
    at dev-server.ts:12:21

when i use mongo module from https://deno.land/x/mongo@v0.12.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
TooTallNatecommented, Sep 23, 2020

Thanks for that. I’ve distilled the issue down to a bug in deno. See https://github.com/denoland/deno/issues/7649.

0reactions
TooTallNatecommented, Oct 10, 2020

Btw the issue with using DEBUG has been resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build from source error in MongoDB v4.4
Hi, I would like to port some changes that I developed for MongoDB v4.2 to v4.4, however I'm not able to build the...
Read more >
How to catch the error when inserting a MongoDB document ...
Yes, but this is the common case: "try to save a user" and if there is an error you think that the user...
Read more >
Working with MongoDB in Visual Studio Code
With the MongoDB for VS Code extension, you can create, manage, and query MongoDB ... In the extension's settings, you can choose which...
Read more >
Troubleshoot common errors in Azure Cosmos DB's API for ...
Code Error Description 13 Unauthorized The request lacks the permissions to complete. 67 CannotCreateIndex The request to create an index can't be completed. 115 CommandNotSupported The...
Read more >
mongo/building.md at master · mongodb/mongo - GitHub
Note: On memory-constrained systems, you may run into an error such as g++: fatal error: Killed signal terminated program cc1plus . To use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found