Skip to content

Instantly share code, notes, and snippets.

@nym
Created August 2, 2011 19:07
Show Gist options
  • Save nym/1120932 to your computer and use it in GitHub Desktop.
Save nym/1120932 to your computer and use it in GitHub Desktop.
Tom-Longsons-MacBook-Pro:site tomlong$ git pull
Already up-to-date.
Tom-Longsons-MacBook-Pro:site tomlong$ npm install
Tom-Longsons-MacBook-Pro:site tomlong$ node server.js
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'slaveOk' of undefined
at new Collection (/Users/tomlong/code/l/integral/site/node_modules/mongodb/lib/mongodb/collection.js:79:65)
at Object.getCollection (/Users/tomlong/code/l/integral/site/app/lib/db.js:23:16)
at /Users/tomlong/code/l/integral/site/app/lib/everyauth.js:4:23
at /Users/tomlong/code/l/integral/site/app/webservice.js:27:50
at /Users/tomlong/code/l/integral/site/app/lib/db.js:14:17
at /Users/tomlong/code/l/integral/site/node_modules/mongodb/lib/mongodb/db.js:74:30
at [object Object].<anonymous> (/Users/tomlong/code/l/integral/site/node_modules/mongodb/lib/mongodb/connections/server.js:104:12)
at [object Object].emit (events.js:64:17)
at Array.<anonymous> (/Users/tomlong/code/l/integral/site/node_modules/mongodb/lib/mongodb/connection.js:163:14)
at EventEmitter._tickCallback (node.js:126:26)
Tom-Longsons-MacBook-Pro:site tomlong$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment