PriyankaGurnaniCometChat / marketplace-cometchat

How to Build a Marketplace Site with React & Node.js (Amazon Clone) with CometChat
MIT License
3 stars 7 forks source link

Cometchat stuck on loading #3

Open Mattw11486 opened 2 years ago

Mattw11486 commented 2 years ago

Downloaded the clone and it runs without issue the only problem I am seeing is with CometChat. When I click the chat with seller button it just hangs on this loading screen. I have verified that the .env file is setup correct with the IDs

image

igorasilveira commented 2 years ago

Hi @Mattw11486. Could you please share your console output? There is probably additional information there on what seems to be wrong when loading CometChat

Mattw11486 commented 2 years ago

I am a noob when it comes to this but in Terminal on Visual Studio code it just shows a few warnings about links not working which is fine. Nothing about cometchat. Output is blank. image

image

image

igorasilveira commented 2 years ago

No problem @Mattw11486. The console I was looking for is the browser console. So on Chrome (if that is what you are using) you can press F12 and a new window will appear with several tabs. One of which is the browser console. This is where the application will show runtime errors.

Mattw11486 commented 2 years ago

Thank you image

Mattw11486 commented 2 years ago

Looks like that was the key to my fix. I realize cometchat 2.0 is installed on the project while on my dashboard in cometchat I had to select the 2.0 version. Hopefully that won't be an issue later if cometchat forces to update version? Anyway it seems to be working now!