TypeError: room.listen is not a function

I'm trying to run the examples that come with colyseus_examples but they all give me errors related to the functions.

Hi @pete, welcome. Can you post the error and the stack trace here?

BTW, the repository was updated 3 hours ago, can you try with the latest changes? https://github.com/colyseus/colyseus-examples


I've downloaded the examples again and now the first two examples are working however the third one gives me errors.
when I try to join without the token it says XmlHttpRequest... method not allowed statuscode:405 and it says "Facebook Login status is only available to HTTPS pages" when I try to login.
Thank you by the way.