Skip to content

Instantly share code, notes, and snippets.

@MangoRaft
Created October 24, 2012 21:07
Show Gist options
  • Save MangoRaft/3948894 to your computer and use it in GitHub Desktop.
Save MangoRaft/3948894 to your computer and use it in GitHub Desktop.
/home/bob/Documents/node/haibu/node_modules/mongoose/lib/utils.js:413
throw err;
^
TypeError: Cannot read property 'safe' of null
at Query._optionsForExec (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/query.js:274:33)
at Query.execFind (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/query.js:814:22)
at Query.find (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/query.js:124:15)
at Query.exec (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/query.js:98:16)
at Query.exports.dep [as run] (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/utils.js:452:12)
at Api.getDrones (/home/bob/Documents/node/haibu/lib/haibu/api/api.js:198:31)
at deploy (/home/bob/Documents/node/haibu/lib/haibu/api/apps.js:77:7)
at Promise.exports.createRouter (/home/bob/Documents/node/haibu/lib/haibu/api/apps.js:143:8)
at Promise.addBack (/home/bob/Documents/node/haibu/node_modules/mongoose/lib/promise.js:120:8)
at Promise.EventEmitter.emit (events.js:96:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment