You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to integrate this library to my project, but I am having a problem to run example from documentation.
ERROR:
Nest can't resolve dependencies of the CrawlerService (?, AMQP_CONNECTION_PROVIDER_0). Please make sure that the argument AMQP_CONNECTION_PROVIDER_test at index [0] is available in the CrawlerModule context.
Potential solutions:
- If AMQP_CONNECTION_PROVIDER_test is a provider, is it part of the current CrawlerModule?
- If AMQP_CONNECTION_PROVIDER_test is exported from a separate @Module, is that module imported within CrawlerModule?
@Module({
imports: [ /* the Module containing AMQP_CONNECTION_PROVIDER_test */ ]
})
My app.moule.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ENV_DB } from 'const/env';
import { BucketModule } from 'modules/core/bucket/bucket.module';
import { CrawlerModule } from 'modules/core/crawler/crawler.module';
import { ItemsModule } from 'modules/items/items.module';
import { ProvidersModule } from 'modules/providers/providers.module';
import { UsersModule } from 'modules/users/users.module';
import { AmqpModule } from 'nestjs-amqp';
@Module({
imports: [
AmqpModule.forRoot({
username: 'xxxxx',
password: 'xxxxxx',
hostname: 'xxxxxx',
port: 5672,
protocol: 'amqp',
name: 'test',
}),
],
})
export class AppModule { }
Hello nestjs/amqp community,
I would like to integrate this library to my project, but I am having a problem to run example from documentation.
ERROR:
My
app.moule.ts
My
crawler.module.ts
My
crawler.service.ts
What is wrong? Looks like I have all steps from example.
Thank you for any help.
The text was updated successfully, but these errors were encountered: