Skip to content

Instantly share code, notes, and snippets.

@jory
Created January 25, 2014 18:50
Show Gist options
  • Save jory/8621414 to your computer and use it in GitHub Desktop.
Save jory/8621414 to your computer and use it in GitHub Desktop.
debug - websocket writing 5:::{"name":"message","args":[[{"key":"y","value":1}]]}
/Users/jory/Code/meatgame/model.js:15
return Object.getPropertyNames(obj);
^
TypeError: Object function Object() { [native code] } has no method 'getPropertyNames'
at Object.getPropertyNames (/Users/jory/Code/meatgame/model.js:15:21)
at Object.stringify (native)
at Object.exports.encodePacket (/Users/jory/Code/meatgame/node_modules/socket.io/lib/parser.js:75:19)
at SocketNamespace.packet (/Users/jory/Code/meatgame/node_modules/socket.io/lib/namespace.js:154:23)
at SocketNamespace.emit (/Users/jory/Code/meatgame/node_modules/socket.io/lib/namespace.js:188:15)
at tick [as _onTimeout] (/Users/jory/Code/meatgame/app.js:42:16)
at Timer.listOnTimeout (timers.js:124:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment