Nest cannot export a provider/module that is not a part of the currently processed module (MikroOrmCoreModule). Please verify whether the exported MongoMikroORM is available in this particular context. #180
Unanswered
snigdha920
asked this question in
Q&A
Replies: 2 comments 13 replies
-
I would guess this is because you import the |
Beta Was this translation helpful? Give feedback.
3 replies
-
Ok, this is really weird, but the actual problem is that when executing your -import path from 'path';
+import { join } from 'path'; (and use the |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
A clear and concise description of what the bug is.
When starting my nestjs application that uses both postgres and mongodb depending on the configuration provided, I see this error since v6.0.0:
Stack trace
To Reproduce
Reproduction repo: https://github.com/snigdha920/nestjs-example-app
Expected behavior
A clear and concise description of what you expected to happen.
The app should start, like it did with v5.2.3
Versions
All the versions can be found in the reproduction repo.
Beta Was this translation helpful? Give feedback.
All reactions