Skip to content

Instantly share code, notes, and snippets.

@bigeasy
Created September 17, 2010 03:18
Show Gist options
  • Save bigeasy/583605 to your computer and use it in GitHub Desktop.
Save bigeasy/583605 to your computer and use it in GitHub Desktop.
coffee> SaxPushParser = require("libxmljs").SaxPushParser
[Function]
coffee> new SaxPushParser
TypeError: Bad argument: function required
at Object.<anonymous> (eval at <anonymous> (/opt/lib/node/.npm/coffee-script/0.9.3/package/lib/coffee-script.js:42:25))
at Object.run (/opt/lib/node/.npm/coffee-script/0.9.3/package/lib/coffee-script.js:42:12)
at Interface.<anonymous> (/opt/lib/node/.npm/coffee-script/0.9.3/package/lib/repl.js:15:26)
at Interface.emit (events:26:26)
at Interface._ttyWrite (readline:281:12)
at Interface.write (readline:123:27)
at Stream.<anonymous> (/opt/lib/node/.npm/coffee-script/0.9.3/package/lib/repl.js:31:17)
at Stream.emit (events:26:26)
at IOWatcher.callback (net:489:16)
at node.js:769:9
coffee>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment