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

Error building base project #695

Open sjenkinsdc opened 8 years ago

sjenkinsdc commented 8 years ago

I followed the instructions at http://foundation.zurb.com/apps/docs/#!/installation to install a new project, but I keep getting an error. I have installed this from instructions a week ago, and everything worked fine then.

... 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 at GetAddrInfoReqWrap.onlookup as oncomplete events.js:85 throw er; // Unhandled 'error' event

screen shot 2015-09-17 at 3 13 18 pm

dragthor commented 8 years ago

Mine is also dying on"git ls-remote --tags --heads git://github.com/zurb/foundation-apps.git"

AntJanus commented 8 years ago

The EADDRINUSE is an error telling you that something is sitting on your port 8080. It looks like you might be on OSX so I quickly looked up how to determine what's running on port 8080:

 sudo lsof -i :8080

If it says node, you can go into your activity manager and kill it and try again.

dragthor commented 8 years ago

Thanks @AntJanus It could be anything... IIS, Apache, Google App Engine, etc.

gakimball commented 8 years ago

@sjenkinsdc Check to see if you have anything else on the port that's running. You can also change the port number on line 148 of gulpfile.js:

gulp.task('server', ['build'], function() {
  gulp.src('./build')
    .pipe($.webserver({
      port: 8079, // Right here!
      host: 'localhost',
      fallback: 'index.html',
      livereload: true,
      open: true
    }))
  ;
});