Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Accessing non-existent property 'MongoError' #69

Closed
mattcollier opened this issue Feb 23, 2021 · 3 comments
Closed

Warning: Accessing non-existent property 'MongoError' #69

mattcollier opened this issue Feb 23, 2021 · 3 comments
Assignees

Comments

@mattcollier
Copy link
Contributor

I'm seeing this warning on startup when using [email protected] in the bedrock-kms-http test suite.

This may be the new normal. The stack trace would seem to indicate that it has nothing to do with Bedrock code.

(node:233827) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
  at emitCircularRequireWarning (internal/modules/cjs/loader.js:650:11)
  at Object.get (internal/modules/cjs/loader.js:664:5)
  at Object.<anonymous> (/home/matt/bedrock-dev/bedrock-kms-http/test/node_modules/mongodb/lib/operations/operation.js:4:38)
  at Module._compile (internal/modules/cjs/loader.js:1063:30)
  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
  at Module.load (internal/modules/cjs/loader.js:928:32)
  at Function.Module._load (internal/modules/cjs/loader.js:769:14)
  at Module.require (internal/modules/cjs/loader.js:952:19)
  at require (internal/modules/cjs/helpers.js:88:18)
  at Object.<anonymous> (/home/matt/bedrock-dev/bedrock-kms-http/test/node_modules/mongodb/lib/operations/execute_operation.js:4:16)
@davidlehn
Copy link
Member

@aljones15 aljones15 self-assigned this Feb 23, 2021
@aljones15
Copy link
Contributor

aljones15 commented Apr 6, 2021

@davidlehn @mattcollier looks like this has now been fixed: mongodb/node-mongodb-native#2734

Thumbs up to confirm and I'll close this.

NOTE: test project in master is clean with latest driver.

@aljones15
Copy link
Contributor

closing as I'm about 6 test projects in and no longer seeing this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants