Skip to content

Instantly share code, notes, and snippets.

@spikebrehm
Created April 25, 2013 15:42
Show Gist options
  • Save spikebrehm/5460727 to your computer and use it in GitHub Desktop.
Save spikebrehm/5460727 to your computer and use it in GitHub Desktop.
Node.js exception on v0.10.3. Get this when trying to start up an Express server. Doesn't happen on 0.8.x.
UNCAUGHT EXCEPTION: Error: uv_signal_start EINVAL
at errnoException (node.js:540:13)
at process.on.process.addListener (node.js:762:17)
at Object.<anonymous> (/Users/spike1/code/moweb/app.js:105:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
@raymondfeng
Copy link

Can you share /Users/spike1/code/moweb/app.js:105:9? I suspect it has some code like:

process.on('SIGKILL', function (){process.exit(1)});

@piscisaureus
Copy link

Also on which OS does this happen?

@spikebrehm
Copy link
Author

for posterity: @raymondfeng you're correct about the 'SIGKILL'.

was happening on OS X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment