So yea, I got stuck. I even decided to simply copy server.js file provided by you guys on GitHub Gist, but I get
const MongoStore = require(‘connect-mongo’)(session);
TypeError: Class constructor MongoStore cannot be invoked without ‘new’
I’ll try to solve this myself of course, but you should look into it.
All dependencies were installed directly from Repl.it, so maybe there’re some issue with newer versions of some of them…
Challenge: Authentication with Socket.IO
Link to the challenge: