#the Module containing ModulesContainer

2 messages · Page 1 of 1 (latest)

rich fog
#

[Nest] 70879 - 07/31/2025, 3:43:42 PM ERROR [ExceptionHandler] UnknownDependenciesException [Error]: Nest can't resolve dependencies of the DiscoveryService (?). Please make sure that the argument ModulesContainer at index [0] is available in the DiscoveryModule context.

Potential solutions:

  • Is DiscoveryModule a valid NestJS module?
  • If ModulesContainer is a provider, is it part of the current DiscoveryModule?
  • If ModulesContainer is exported from a separate @Module, is that module imported within DiscoveryModule?
    @Module({
    imports: [ /* the Module containing ModulesContainer */ ]
    })
tribal lanternBOT
#

We have generated a response to your question, but it is too long to be sent as a single message. Please check the response attached as a file.