
4.5.1
Throws "m.hooks is undefined" and the sample does not load
Working plain UI webchat
Tried running the sample locally and still throws the same error
[Bug]
@joshm998 get the latest for both the botframework-webchat and the botframework-webchat-component and it should resolve the missing hooks:
npm i botframework-webchat@latest
npm i botframework-webchat-component@latest
I found some issues with the sample like message not sending, but you can fix that directly in the code and it should be fine.
This is fixed in latest bits as of last night. To verify, please clone Web Chat, follow the contributing instructions to build the repo, and use the webchat.js file in /packages/bundle/dist/ to test. If you're still having problems, please leave another comment on this issue. At the moment I am able to build and run with no problems. :)
Thanks its fixed now 馃檪