This is a chatting system which is completely anonymous. The only form of identification is a hex tag, which is only used to provide a way to tell which user is which. This tag is reset each time you refresh the page.
Bonus: If you embed this site, it'll still work! That little embedded repl down there is a working app. Fell free to try it out!
This is a somewhat lighter version of my other chatting system: https://chat.hyperjs.ml
TypeError: Cannot read property 'room' of undefined
at Socket.<anonymous> (/home/runner/classchat/index.js:48:28)
at Socket.emit (events.js:314:20)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
exit status 1
Do you know how to fix this?