Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invoke the process.addListener() and Node tell me: No such module
- process.addListener('SIGINT', function(){ console.log( 'Sigint test.' ); } );
- node.js:203
- throw e; // process.nextTick error, or 'error' event on first tick
- ^
- Error: No such module
- at EventEmitter.<anonymous> (node.js:361:27)
- at Object.<anonymous> (D:NodejsMySamplesample.js:13:9)
- at Module._compile (module.js:432:26)
- at Object..js (module.js:450:10)
- at Module.load (module.js:351:31)
- at Function._load (module.js:310:12)
- at Array.<anonymous> (module.js:470:10)
- at EventEmitter._tickCallback (node.js:195:26)
Add Comment
Please, Sign In to add comment