Development setup

This the line where I am getting error in:
It is in server/server.js line 32:
“const MongoStore = connectMongo(session);”
The error is TypeError: Class constructor MongoStore cannot be invoked without ‘new’

Welcome to the forum :smiley:

Unfortunately your question lacks any detail - no hint of what library you are using - no context for the code. I suggest you read the Guidelines and then edit your question to give more information about the problem.

1 Like