StephenGrider / ReactStarter

https://www.udemy.com/learn-and-understand-reactjs/
204 stars 186 forks source link

Unhandled 'error' event #4

Open louis-pvs opened 9 years ago

louis-pvs commented 9 years ago

Hi,

When I run gulp after npm install, it throw me the error below

[13:56:40] Using gulpfile ~/practice/ReactStarter/gulpfile.js [13:56:40] Starting 'build'... [13:56:40] Finished 'build' after 10 ms [13:56:40] Starting 'serve'... [13:56:40] Starting 'sass'... [13:56:40] Finished 'sass' after 26 ms [13:56:40] Starting 'watch'... [13:56:40] Finished 'watch' after 18 ms events.js:85 throw er; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND localhost at errnoException (dns.js:44:10) at GetAddrInfoReqWrap.onlookup as oncomplete

bloolizard commented 9 years ago

getting same error:

throw errnoException(process._errno, 'watch');

lei-clearsky commented 9 years ago

same error: fs.js:1062 throw errnoException(process._errno, 'watch');

leoman commented 9 years ago

I also get the same error:

[09:54:39] Starting 'serve'... events.js:85 throw er; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND localhost at errnoException (dns.js:44:10) at GetAddrInfoReqWrap.onlookup as oncomplete

sjafri5 commented 8 years ago

Did anyone solve this issue?

jaime-franco commented 8 years ago

Hi Guys, i have some issues when running gulp, for solve my problem i noticed that the in the package.js the gulp-server-livereload was outdate, so i run "npm i gulp-server-livereload" and that solved my problem.

I hope this help you guys!

motleytech commented 8 years ago

@jaime-franco I have a very similar issue(not exactly same), but reinstalling gulp-server-livereload did not fix my problem. I created another issue regarding that - #6