tmijs / tmi.js

💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
https://tmijs.com
MIT License
1.55k stars 214 forks source link

client.join() No response from Twitch. #494

Open Floboy opened 2 years ago

Floboy commented 2 years ago

Actual behaviour: Tries to join but fails: (node:2736) UnhandledPromiseRejectionWarning: No response from Twitch.

Expected behaviour: It should join the channel I specified.

Error log:

(node:2865) UnhandledPromiseRejectionWarning: No response from Twitch.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2865) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2865) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Server configuration

micalevisk commented 2 years ago

I got that error only when the channel doesn't exists, like this one: asdasdadadadasdad

willyk0 commented 1 year ago

I also have this problem. Tested with just only one channel at a time, all of them exist.