Skip to content

Nest 8 + amqp bug #522

Open
Open
@huangang

Description

@huangang

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 */ ]
    })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions