nest-slack-bolt
nest-slack-bolt copied to clipboard
Slack Module issue
Seems something wrong when importing slack module with nestjs v10
hi,
A break has been introduced in this version.
https://github.com/bamada/nest-slack-bolt/releases/tag/1.0.0
Please check whether you have updated the module import as follows
imports: [SlackModule.forRoot()],
Yeah, this is what I have.
import { Module } from '@nestjs/common';
import { SlackModule } from 'nestjs-slack-bolt';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@Module({
imports: [SlackModule.forRoot()],
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
I ran a test with the latest version of the module 1.1.1
and Nestjs v10.3.2
. I didn't get any error.
Could you tell me which version you use for Nestjs and the slack-bot module?
@nestjs/core@npm:10.3.5 ├─ Instances: 1 ├─ Version: 10.3.5 │ └─ Dependencies ├─ @nuxtjs/opencollective@npm:0.3.2 → npm:0.3.2 ├─ fast-safe-stringify@npm:2.1.1 → npm:2.1.1 ├─ iterare@npm:1.2.1 → npm:1.2.1 ├─ path-to-regexp@npm:3.2.0 → npm:3.2.0 ├─ tslib@npm:2.6.2 → npm:2.6.2 └─ uid@npm:2.0.2 → npm:2.0.2
nestjs-slack-bolt@npm:1.1.1 ├─ Instances: 1 ├─ Version: 1.1.1 │ └─ Dependencies ├─ @commitlint/cli@npm:19.3.0 → npm:19.3.0 ├─ @commitlint/config-angular@npm:19.3.0 → npm:19.3.0 ├─ @nestjs/common@npm:^10.1.3 → npm:10.3.8 ├─ @nestjs/config@npm:3.2.2 → npm:3.2.2 ├─ @nestjs/core@npm:^10.1.3 → npm:10.3.8 ├─ @slack/bolt@npm:3.18.0 → npm:3.18.0 ├─ husky@npm:9.0.11 → npm:9.0.11 └─ reflect-metadata@npm:0.2.2 → npm:0.2.2