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' of module exports inside circular dependency #252

Open
leandroluk opened this issue Feb 5, 2021 · 1 comment

Comments

@leandroluk
Copy link

System Info:

  • Operation System: Windows 10 x64
  • Node version: 14.15.1
  • NPM version: 6.14.8
  • Libs versions:
    • @shelf/jest-mongodb: 1.2.3
    • @types/mongod: 3.6.5
    • jest: 26.6.3
    • ts-jest: 26.5.0
    • typescript: 4.1.3

Problem:

When starting jest using the command "jest" the warn is displayed:

image

Steps to reproduce

  • create new project
  • add libs and deps
  • create some test
  • run command jest
@annielmenezes
Copy link

@leandroluk to fix it has an open pull request that I think will fix this updating mongodb-memory-server package.

If you can't wait the merge like me, follow the steps in this thread https://stackoverflow.com/a/66102270 and it resolves the problem for while.

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

No branches or pull requests

2 participants