We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动app.js的时候,在connect-mongo.js里面报错了.
TypeError:Can not read property 'Store' of undefined
module.exports = function(connect) { var Store = connect.session.Store 在这里
mongodb我已经启动了, 还需要做什么样的配置吗
The text was updated successfully, but these errors were encountered:
var MongoStore = require('connect-mongo'); 改为 var MongoStore = require('connect-mongo')(express);
Sorry, something went wrong.
No branches or pull requests
启动app.js的时候,在connect-mongo.js里面报错了.
TypeError:Can not read property 'Store' of undefined
module.exports = function(connect) {
var Store = connect.session.Store 在这里
mongodb我已经启动了, 还需要做什么样的配置吗
The text was updated successfully, but these errors were encountered: