nestx-amqp icon indicating copy to clipboard operation
nestx-amqp copied to clipboard

Nest 8 + amqp bug

Open huangang opened this issue 4 years ago • 1 comments

ERROR [ExceptionHandler] Nest can't resolve dependencies of the AmqpModule (?). Please make sure that the argument ModuleRef at index [0] is available in the AmqpModule context.

Potential solutions:

  • If ModuleRef is a provider, is it part of the current AmqpModule?
  • If ModuleRef is exported from a separate @Module, is that module imported within AmqpModule? @Module({ imports: [ /* the Module containing ModuleRef */ ] })

Error: Nest can't resolve dependencies of the AmqpModule (?). Please make sure that the argument ModuleRef at index [0] is available in the AmqpModule context.

Potential solutions:

  • If ModuleRef is a provider, is it part of the current AmqpModule?
  • If ModuleRef is exported from a separate @Module, is that module imported within AmqpModule? @Module({ imports: [ /* the Module containing ModuleRef */ ] })

huangang avatar Jul 13 '21 06:07 huangang

Hello, having the same with nestjs 9.0.11. Downgrading nest to 8.0.0 made my app start again. Was this issue ever solved? Thanks and best regards

SergioArrighi avatar Aug 25 '22 11:08 SergioArrighi