cannot call method 'load' of undefined #1074

Closed
furtivefelon opened this Issue Apr 13, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Hi all,

I am trying to following TJ's comment here: http://www.danielbaulig.de/socket-ioexpress/#comment-2705

However, I don't think store is defined for my app.

I am using express@2.5.9 with connect@1.8.6 and node v0.6.10

detailed error here:

/mnt/hgfs/Dropbox/projects/flockwire.com/realtime.js:18
app.store.load(sid, function(err, sess){
^
TypeError: Cannot call method 'load' of undefined
at Manager. (/mnt/hgfs/Dropbox/projects/proj/realtime.js:18:15)
at Manager.authorize (/mnt/hgfs/Dropbox/projects/node_modules/socket.io/lib/manager.js:866:31)
at Manager.handleHandshake (/mnt/hgfs/Dropbox/projects/node_modules/socket.io/lib/manager.js:742:8)
at Manager.handleRequest (/mnt/hgfs/Dropbox/projects/node_modules/socket.io/lib/manager.js:569:12)
at HTTPServer. (/mnt/hgfs/Dropbox/projects/node_modules/socket.io/lib/manager.js:115:10)
at HTTPServer.emit (events.js:70:17)
at HTTPParser.onIncoming (http.js:1511:12)
at HTTPParser.onHeadersComplete (http.js:102:31)
at Socket.ondata (http.js:1407:22)
at TCP.onread (net.js:354:27)

Thanks a lot for any help :)

Jason

Member

jonathanong commented Sep 9, 2013

old. closing. sorry! reopen if it still persists with 3.x

jonathanong closed this Sep 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment