nest-slack-bolt icon indicating copy to clipboard operation
nest-slack-bolt copied to clipboard

Slack Module issue

Open tli26 opened this issue 9 months ago • 4 comments

Screen Shot 2024-05-13 at 7 16 30 PM Seems something wrong when importing slack module with nestjs v10

tli26 avatar May 14 '24 02:05 tli26

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()],

bamada avatar May 16 '24 08:05 bamada

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 {}

tli26 avatar May 17 '24 01:05 tli26

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?

bamada avatar May 17 '24 07:05 bamada

@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

tli26 avatar May 23 '24 22:05 tli26