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
Not working properly in Nestjs 10.0.0 version #1134
Comments
Everything seems to be working properly on my end. I think
I cannot tell what |
any update on this? I faced the same problem |
in my case it is the bot name specified in the |
@erosiners Have you solved this problem? I also encountered the same problem. |
@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? |
Not working properly in Nestjs 10.0.0 version
error message
The text was updated successfully, but these errors were encountered: