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

Nest 8 + amqp bug #522

Open
huangang opened this issue Jul 13, 2021 · 1 comment
Open

Nest 8 + amqp bug #522

huangang opened this issue Jul 13, 2021 · 1 comment

Comments

@huangang
Copy link

huangang commented Jul 13, 2021

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 */ ]
    })
@SergioArrighi
Copy link

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

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

No branches or pull requests

2 participants