zurb / foundation-apps

The first front-end framework created for developing fully responsive web apps.
http://foundation.zurb.com/apps
MIT License
1.58k stars 216 forks source link

Foundation watch works but I still have EADDRINUSE error #787

Open ummahusla opened 8 years ago

ummahusla commented 8 years ago

I've started a new project and I've installed a Foundation for Apps. I've changed the gulpfile.js and tried different ports, but I still got this error (most likely to be warning, because foundation watch is still working). It really drives me crazy, because I've checked all node process running on my machine, I've killed them all several times and started from the begging. Moreover, I can't figure out why I have this EADDRINUSE error but foundation is running and catching all the changes I make in the project. It would be great if someone can't help me to figure out this.

$ foundation watch

> foundation-apps-template@1.2.0 start /foundation-for-apps/shit
> gulp

[11:37:06] Using gulpfile /foundation-for-apps/app/gulpfile.js
[11:37:06] Starting 'build'...
[11:37:06] Starting 'clean'...
[11:37:06] Finished 'clean' after 11 ms
[11:37:06] Starting 'copy'...
[11:37:06] Starting 'copy:foundation'...
[11:37:06] Finished 'copy:foundation' after 291 ms
[11:37:06] Starting 'sass'...
[11:37:07] Starting 'uglify:foundation'...
[11:37:07] Starting 'uglify:app'...
[11:37:07] Finished 'copy' after 910 ms
[11:37:07] Finished 'uglify:app' after 112 ms
[11:37:07] Finished 'uglify:foundation' after 232 ms
[11:37:07] Starting 'uglify'...
[11:37:07] Finished 'uglify' after 7.41 μs
[11:37:07] Finished 'sass' after 969 ms
[11:37:07] Starting 'copy:templates'...
[11:37:07] Finished 'copy:templates' after 14 ms
[11:37:07] Finished 'build' after 1.3 s
[11:37:07] Starting 'server'...
[11:37:07] Webserver started at http://edvins-local:3432
[11:37:07] Finished 'server' after 203 ms
[11:37:07] Starting 'default'...
[11:37:07] Finished 'default' after 16 ms

... Uhoh. Got error listen EADDRINUSE ...
Error: listen EADDRINUSE
    at exports._errnoException (util.js:746:11)
    at Server._listen2 (net.js:1156:14)
    at listen (net.js:1182:10)
    at net.js:1280:9
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:81:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:99:10)
[11:39:37] Starting 'copy'...
[11:39:37] Finished 'copy' after 5.46 ms

Thank you.