masylum/connect-mongodb — Issue #44: TypeError: Cannot read property 'Store' of undefined
Author: mathmoi
Created: 2012-01-28 03:01:26+00:00
State: open

I've googled this and even searched the closed issues here on github, but I can't find anyone with this problem.

I'm using node.js v0.4.9 (The version from the ubuntu repositories) and connect v1.8.5 that I grabbed from npm. I also grabbeb connect-mongodb from npm.

Every time I require('connect-mongodb') I get an exception stating :
TypeError: Cannot read property 'Store' of undefined

This point to the first line of connect-mongodb.js that reads :
var Store = require('connect').session.Store

Is this an incompatibility issue or something?
If you need more informations, let me know.