-
Notifications
You must be signed in to change notification settings - Fork 395
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
error TS2308: Module './types' has already exported a member named 'X' #2233
Comments
Weird issue, I tried to come back to the last successful version No packages were upgraded during this time. |
Indeed there is a problem here. As per #2234 , this can be easily reproduced by:
I believe it is due to the change I made where I took the event payloads that were a part of bolt-js and exposed them in the Possibly all that is needed is a new release of bolt-js. I am investigating. I will also add an integration test w/ the typescript example within this repo to ensure no regressions. Sorry for the trouble 😢 |
I am able to avoid this problem with the latest I will create a PR to update this sample and add a basic integration test between this sample and the main repo as part of GitHub Action CI to help prevent regressions like this in the future. Once this is merged, I can then cut a new release of bolt-js which should fix the issue. I will also implement a similar integration test between the various I'll update this issue once a new version of bolt-js is live. |
bolt v3.21.2 is live on npm. Can someone see if this fixes the issue for them? @pascal-sidlee @yoychen |
Excellent, that fixed my issue, thanks! |
Great, thanks for confirming! Closing now, but feel free to re-open or open a new one if anything else arises. |
It works, thanks!!! 🥳 |
@slack/bolt
version3.21.1
Your
App
and Receiver Configurationconst 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)
Expected result:
Get all packages without any issues et build the app
Actual result:
Got 105 errors, like these:
Requirements
The text was updated successfully, but these errors were encountered: