LucasBassetti / react-simple-chatbot

:speech_balloon: Easy way to create conversation chats
https://lucasbassetti.com.br/react-simple-chatbot/
MIT License
1.74k stars 601 forks source link

Unable to load ChatBot #148

Closed darylfung96 closed 5 years ago

darylfung96 commented 6 years ago

After installing react-simple-chatbot when I included

into the project it shows a TypeError that this.content is undefined.

mnavarromugas commented 6 years ago

I got a different error:

Uncaught TypeError: Cannot read property 'addEventListener' of undefined

LucasBassetti commented 5 years ago

I will look into ASAP. Thanks for reporting!

RegisSaffi commented 5 years ago

i am getting this error "TypeError: Cannot read property 'addEventListener' of undefined"

C:/Users/Regis/reactProjects/myapp/node_modules/react-simple-chatbot/dist/react-simple-chatbot.js:379

please help

jdb409 commented 5 years ago

Hey,

Any update on this? I'm getting the same error within my create react app.

Thanks!

LucasBassetti commented 5 years ago

Please update to version 0.3.8

LucasBassetti commented 5 years ago

Don't use styled-components v4. Use version 3 or 2.

AnirudhaGohokar commented 5 years ago

Even after updating to version 2 or 3, still getting below errors: Uncaught TypeError: this.content.addEventListener is not a function Uncaught TypeError: this.content.removeEventListener is not a function

SocialAnxty commented 4 years ago

Same issue here and I am using version 3.

Uncaught TypeError: this.content.addEventListener is not a function Uncaught TypeError: this.content.removeEventListener is not a function

mprovensi commented 4 years ago

Hi same here: Uncaught TypeError: this.content.addEventListener is not a function Uncaught TypeError: this.content.removeEventListener is not a function