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: Cannot find module './drivers/node-mongodb-native/connection'

See original GitHub issue

When using mongoose , as in just doing something like import mongoose from 'mongoose' I get this error: Error: Cannot find module './drivers/node-mongodb-native/connection'. It gets fixed if I remove the plugin so I am pretty sure this is causing it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:19

github_iconTop GitHub Comments

2reactions
rodrigoreis22commented, Feb 8, 2019

great @anantkas-zerone , I’m locked with this version… in the future I will try to upgrade.

2reactions
rodrigoreis22commented, Jan 30, 2019

That’s odd. Which version of mongoose are you using? I’m using 5.2.5 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
drivers/node-mongodb-native/connection' using Parcel #9603 ... The runtime environment can't find this module because it's never bundled.
Read more >
2 - Stack Overflow
drivers/node-mongodb-native/connection'", "stack": [ "Runtime.ImportModuleError: Error: Cannot find module '.
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >
ServiceNow Community servicenow community
I am trying to setup the CLI for component development and get the infamous error "keytar module" not found. Can someone tell me...
Read more >
I have an error it says: Error: Cannot find module '.env'
Error : Cannot find module '.env' Require stack: C:\Users\User\Desktop\mongoDB\mflix-js\index.js at Function.Module.
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