Skip to content

Instantly share code, notes, and snippets.

Created December 16, 2011 16:34
Show Gist options
  • Save anonymous/44b39d45e2727d1a31ad to your computer and use it in GitHub Desktop.
Save anonymous/44b39d45e2727d1a31ad to your computer and use it in GitHub Desktop.
/home/tmpusr/project/node_modules/log4js/lib/log4js.js:230
if (this.isLevelEnabled(level)) {
^
TypeError: Object #<NativeConnection> has no method 'isLevelEnabled'
at NativeConnection.<anonymous> (/home/tmpusr/project/node_modules/log4js/lib/log4js.js:230:22)
at NativeConnection.emit (events.js:67:17)
at /home/tmpusr/project/node_modules/mongoose/lib/model.js:532:31
at [object Object].<anonymous> (/home/tmpusr/project/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:551:11)
at [object Object].emit (events.js:70:17)
at [object Object].<anonymous> (/home/tmpusr/project/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connections/server.js:108:12)
at [object Object].emit (events.js:67:17)
at Socket.<anonymous> (/home/tmpusr/project/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection.js:116:18)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:327:14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment