Authentication with Socket.IO

showing error
typeError : class constructor MongoStore cannot be invoked without “new”.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Challenge: Authentication with Socket.IO

Link to the challenge:

Welcome there,

The instructions are to install specific versions of the packages:


You have:

"connect-mongo": "^4.4.1",

Hope this helps

its work, thank you @Sky020

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.