Need help with tmi.js errors

Please post your code that shows connected to and joining a channel.