Getting error Error: Nest can't resolve dependencies of the QueryBus (?). Please make sure that the argument ModuleRef at index [0] is available in the CqrsModule context. #25
ERROR [ExceptionHandler] Nest can't resolve dependencies of the QueryBus (?). Please make sure that the argument ModuleRef at index [0] is available in the CqrsModule context.
Potential solutions:
If ModuleRef is a provider, is it part of the current CqrsModule?
If ModuleRef is exported from a separate @Module, is that module imported within CqrsModule?
@Module({
imports: [ / the Module containing ModuleRef / ]
})
Running project i am getting following error:
ERROR [ExceptionHandler] Nest can't resolve dependencies of the QueryBus (?). Please make sure that the argument ModuleRef at index [0] is available in the CqrsModule context.
Potential solutions: