The first wiki example echo_srv.js is not running on Mac. I get the following error when I give the following command on Terminal:
node echo_srv.js
events.js:71
throw arguments[1]; // Unhandled 'error' event
^
Error: listen ENOTSOCK
at errnoException (udt.js:826:11)
at Server._listen2 (udt.js:1076:19)
at listen (udt.js:1120:10)
at Server.listen (udt.js:1169:5)
at Object. (/Users/Admin/Documents/node_workspace/server.js:6:6)
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)
The first wiki example echo_srv.js is not running on Mac. I get the following error when I give the following command on Terminal:
node echo_srv.js
events.js:71 throw arguments[1]; // Unhandled 'error' event ^ Error: listen ENOTSOCK at errnoException (udt.js:826:11) at Server._listen2 (udt.js:1076:19) at listen (udt.js:1120:10) at Server.listen (udt.js:1169:5) at Object. (/Users/Admin/Documents/node_workspace/server.js:6:6)
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)