8000 error TS2308: Module './types' has already exported a member named 'X' · Issue #2233 · slackapi/bolt-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
error TS2308: Module './types' has already exported a member named 'X' #2233
Closed
@pascal-sidlee

Description

@pascal-sidlee

@slack/bolt version

3.21.1

Your App and Receiver Configuration

const app = new App({
token: process.env.SLACK_BOT_TOKEN,
socketMode: true,
appToken: process.env.SLACK_APP_TOKEN,
logger: logger,
});

Node.js runtime version

18.17.0 64-bit

Steps to reproduce:

(Share the commands to run, source code, and project settings)

  1. npm install
  2. npm run start

Expected result:

Get all packages without any issues et build the app

Actual result:

Got 105 errors, like these:

node_modules/@slack/bolt/dist/index.d.ts:18:1 - error TS2308: Module './types' has already exported a member named 'WorkflowStepDeletedEvent'. Consider explicitly re-exporting to resolve the ambiguity.

18 export * from '@slack/types';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@slack/bolt/dist/index.d.ts:18:1 - error TS2308: Module './types' has already exported a member named 'WorkflowStepExecuteEvent'. Consider explicitly re-exporting to resolve the ambiguity.

18 export * from '@slack/types';
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@slack/bolt/dist/index.d.ts:18:1 - error TS2308: Module './types' has already exported a member named 'WorkflowUnpublishedEvent'. Consider explicitly re-exporting to resolve the ambiguity.

18 export * from '@slack/types';

Requirements

Metadata

Metadata

Assignees

No one assigned

    Labels

    TypeScript-specificbugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0