Pavel Yaroshenko - 2015-06-05 09:47:45 - In reply to message 2 from Manuel Lemos
Hi, I also new in js. Look I run in command prompt:
node testEmailValidation.js and i get
It was not specified the e-mail address for validation.
when i run node testEmailValidation.js kas@mail.ru i get
Error: Cannot find module './sockets'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at new exports.validation (C:\Users\pya\Downloads\email-validation\emailVali
dation.js:16:13)
at Object.<anonymous> (C:\Users\pya\Downloads\email-validation\testEmailVali
dation.js:29:19)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)