{"action":"closed","issue":{"url":"https://api.github.com/repos/tj/connect-redis/issues/170","labels_url":"https://api.github.com/repos/tj/connect-redis/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/tj/connect-redis/issues/170/comments","events_url":"https://api.github.com/repos/tj/connect-redis/issues/170/events","html_url":"https://github.com/tj/connect-redis/issues/170","id":122110280,"number":170,"title":"Cannot read property 'Store' of undefined","user":{"login":"domschiener","id":9785885,"avatar_url":"https://avatars.githubusercontent.com/u/9785885?v=3","gravatar_id":"","url":"https://api.github.com/users/domschiener","html_url":"https://github.com/domschiener","followers_url":"https://api.github.com/users/domschiener/followers","following_url":"https://api.github.com/users/domschiener/following{/other_user}","gists_url":"https://api.github.com/users/domschiener/gists{/gist_id}","starred_url":"https://api.github.com/users/domschiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domschiener/subscriptions","organizations_url":"https://api.github.com/users/domschiener/orgs","repos_url":"https://api.github.com/users/domschiener/repos","events_url":"https://api.github.com/users/domschiener/events{/privacy}","received_events_url":"https://api.github.com/users/domschiener/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T19:15:29Z","updated_at":"2015-12-14T19:19:46Z","closed_at":"2015-12-14T19:19:46Z","body":"Trying to run redis-connect with express-session and I get the following error: \r\n\r\n```\r\n/Users/domsch/Desktop/scalable/chapter-1/node_modules/connect-redis/lib/connect-redis.js:33\r\n  var Store = connect.session.Store;\r\n                             ^\r\n\r\nTypeError: Cannot read property 'Store' of undefined\r\n```\r\n\r\n Here is my setup:\r\n\r\n```\r\nvar session = require('express-session');\r\nvar RedisStore = require('connect-redis')(session);\r\n\r\napp.use(session({\r\n secret: 'secret',\r\n saveUninitialized: true,\r\n resave: true,\r\n store: new RedisStore(\r\n {url: 'redis://localhost'})\r\n })\r\n);\r\n```\r\n\r\nI'm using `redis@0.10.1`, `express-session@1.6.5`, `connect-redis@1.4.7` and `express@4.6.1`. Anyone have a clue what's going wrong? I've also tried running redis locally and setting the `host` and `port` options for `RedisStore`. Sadly to no success. "}}