wolf-core
wolf-core copied to clipboard
Build issue with TypeScript project "botbuilder does not export member 'Promiseable'"
Describe the bug I get a build error after adding wolf to my existing bot project.
node_modules/wolf-core/dist/middlewares/wolfMiddleware.d.ts:1:42
It is complaining that the botbuilder node module does not export a member called Promiseable
To Reproduce Steps to reproduce the behavior:
- Follow README instructions to add wolf to an existing (typescript) bot v4 project
- Run
tsc
Screenshots

Bonus -> can't write abilities.d.ts file:
Desktop (please complete the following information):
- OS: macOS 10.13.16
- Browser: Chrome
- Wolf-core version: 2.5.2
Hey @liliankasem thanks for filing this. Sorry this didn't work out of the box for you, it looks like botbuilder
package no longer exports the Promisable
type from the version we were referencing. We will look into getting 2.5
running..
Id recommend using our alpha
version of wolf-botbuilder which will give you more flexibility utilizing wolf as a function call instead of relying on using the botbuilder middleware pattern.
Since we are currently developing and improving both wolf-core
and wolf-botbuilder
, I'd recommend locking into [email protected]
which is locked on [email protected]
. This will prevent pulling any new changes we we are making daily on @alpha
. If you look at wolf-botbuilder/examples there should be working examples..
Hope this helps, please let me know if you run into any issues/have suggestions.
Thanks Kevin! I'll look into wolf-botbuilder and play around with that.
We'd welcome any feedback, glad you're checking out Wolf! Hoping to get v3 stable and out soon. :)
Yeah of course, happy to contribute where I can. Currently just trying to evaluate if this will be a good fit for an upcoming project :)