Replies: 6 comments
-
Everything seems to be working properly on my end. I think
I cannot tell what |
Beta Was this translation helpful? Give feedback.
-
any update on this? I faced the same problem |
Beta Was this translation helpful? Give feedback.
-
in my case it is the bot name specified in the |
Beta Was this translation helpful? Give feedback.
-
@erosiners Have you solved this problem? I also encountered the same problem. |
Beta Was this translation helpful? Give feedback.
-
@evilsprut When injecting the bot, I will be prompted to report an error. I think this is a mistake. code: constructor(
private readonly configService: ConfigService,
@InjectBot('health') private bot: Telegraf
) {} Error: Please make sure that the argument "healthBot" at index [5] is available in the HealthModule context.
Potential solutions:
- Is HealthModule a valid NestJS module?
- If "healthBot" is a provider, is it part of the current HealthModule?
- If "healthBot" is exported from a separate @Module, is that module imported within HealthModule?
@Module({
imports: [ /* the Module containing "healthBot" */ ]
}) And I don’t know where to solve this healthBot? |
Beta Was this translation helpful? Give feedback.
-
It would be nice to provide an example repo.
It looks like you didn't set the |
Beta Was this translation helpful? Give feedback.
-
Not working properly in Nestjs 10.0.0 version
error message
Beta Was this translation helpful? Give feedback.
All reactions