TypeError: Object #<Receiver> has no method 'on'
jonathanong opened this issue · comments
Tried booting it up on Mac OS X and accessing the webpage, got this error:
/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/node_modules/websocket.io/lib/protocols/hybi-16.js:39
.on('text', function (packet) {
^
TypeError: Object #<Receiver> has no method 'on'
at new WebSocket (/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/node_modules/websocket.io/lib/protocols/hybi-16.js:39:6)
at Server.createClient (/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/node_modules/websocket.io/lib/server.js:88:10)
at Server.handleUpgrade (/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/node_modules/websocket.io/lib/server.js:60:21)
at Server.handleUpgrade (/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/lib/server.js:208:11)
at Server.<anonymous> (/usr/local/lib/node_modules/smog/node_modules/vein/node_modules/engine.io/lib/engine.io.js:147:16)
at Server.emit (events.js:88:20)
at Socket.<anonymous> (http.js:1425:14)
at TCP.onread (net.js:354:27)
This error is present on Windows, too.
Fixed in latest (0.0.7) - it was an issue with the websocket library not managing it's dependencies properly.