botfront / rasa-webchat

A feature-rich chat widget for Rasa and Botfront
https://botfront.io/rasa
Apache License 2.0
962 stars 497 forks source link

Webchat not working after 1.0.0 Release #339

Closed TristanStettin closed 3 years ago

TristanStettin commented 3 years ago

After the Release of Version 1.0.0 today, I've changed the script the way you can find on https://github.com/botfront/rasa-webchat in the documentation. Since that the Chatwindow is not displayed and I got an error in my console:

Uncaught TypeError: Cannot read property 'default' of undefined at HTMLScriptElement.e.onload

Its about the " window.Webchat.default" line of Code.

Hope you can fix this/ or tell me, how to fix it.

Best Regards

Edit: Before that, Version 0.11.12 worked fine.

MatthieuJnon commented 3 years ago

Thank you, it's WebChat and not Webchat 😭 ~Releasing 1.0.1, will let you know when it's out~ Actually it's just a README issue, you can just replace Webchat with WebChat and it will work

TristanStettin commented 3 years ago

Thanks for the fast reply! Yeah ok... sorry my bad, could have seen it myself :D

MatthieuJnon commented 3 years ago

No worries, it's my fault really