Open codyvb opened 6 years ago
Same here.
Although, the TwilioChat-Node project did work for me. So that at least proves that my account is working well. https://github.com/TwilioDevEd/twiliochat-node
This is working for me. Make sure you uncomment line 7 of .env file with your chat ID.
Remove #
so it's just:
TWILIO_CHAT_SERVICE_SID=ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
It also seems the createOrJoinGeneralChannel()
is failing to set up a new channel if the 'general' channel is not found, so you can either debug the logic to make that work or just create a "general" chat channel in your Twilio dashboard.
As an alternative you can also just paste the unique chat channel id of any existing channel you already have where it says 'general' on line 65 of /public/chat/index.js
so it looks like this:
chatClient.getChannelByUniqueName('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
Followed the instructions and added the chat service SID.
getting this error