Skip to content

Instantly share code, notes, and snippets.

@eggie5
Created August 5, 2010 19:05
Show Gist options
  • Save eggie5/510212 to your computer and use it in GitHub Desktop.
Save eggie5/510212 to your computer and use it in GitHub Desktop.
$ node db.js
events:63
this.emit("newListener", type, listener);
^
TypeError: Object #<an Object> has no method 'emit'
at events:63:8
at EventEmitter.Connection (/Users/eggie5/Development/tapioca/dd/lib/postgres-js/lib/postgres-pure.js:304:3)
at onLoad (/Users/eggie5/Development/tapioca/dd/db.js:9:12)
at Object.<anonymous> (/Users/eggie5/Development/tapioca/dd/db.js:16:1)
at Module._compile (module:423:23)
at Module._loadScriptSync (module:433:8)
at Module.loadSync (module:306:10)
at Object.runMain (module:487:22)
at node.js:252:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment