I\'m trying to run node 4.2.2 on a Mac OS and i\'m not understanding why every time i get this error message:
events.js:141 throw er; // Unhandled \'er
so it throw an error ,Unhandled 'error' event,which means you need handle the error event,add function on this event and print the error,you will find the reason and your program will act normal.