Skip to content

Instantly share code, notes, and snippets.

@russellsamora
Created January 29, 2013 14:56
Show Gist options
  • Save russellsamora/4664846 to your computer and use it in GitHub Desktop.
Save russellsamora/4664846 to your computer and use it in GitHub Desktop.
events.js:66
throw arguments[1]; // Unhandled 'error' event
^
Error: Missing connection database.
at NativeConnection.Connection.open (/Users/codenberg/Documents/EGL/CivicSeed/node_modules/mongoose/lib/connection.js:203:16)
at Mongoose.createConnection (/Users/codenberg/Documents/EGL/CivicSeed/node_modules/mongoose/lib/index.js:108:17)
at Object.module.exports.connectMongoose (/Users/codenberg/Documents/EGL/CivicSeed/service.js:16:23)
at Object.<anonymous> (/Users/codenberg/Documents/EGL/CivicSeed/bin/server:39:9)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
npm ERR! CivicSeed-testing@0.0.7-6 start: `node ./bin/server`
npm ERR! `sh "-c" "node ./bin/server"` failed with 1
npm ERR!
npm ERR! Failed at the CivicSeed-testing@0.0.7-6 start script.
npm ERR! This is most likely a problem with the CivicSeed-testing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/server
npm ERR! You can get their info via:
npm ERR! npm owner ls CivicSeed-testing
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "start"
npm ERR! cwd /Users/codenberg/Documents/EGL/CivicSeed
npm ERR! node -v v0.8.2
npm ERR! npm -v 1.1.43
npm ERR! code ELIFECYCLE
npm ERR! stack Error: CivicSeed-testing@0.0.7-6 start: `node ./bin/server`
npm ERR! stack `sh "-c" "node ./bin/server"` failed with 1
npm ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:56:20)
npm ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
npm ERR! stack at Process._handle.onexit (child_process.js:674:10)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/codenberg/Documents/EGL/CivicSeed/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment