MegaRacer MegaRacer - 1 year ago 200
AngularJS Question

Gulp connect gives me cannot GET/ with angular app

I am trying to setup a simple boilerplate wth gulp, browserify,angular and node.js However, I get error of

cannot GET

Folder structure

Here's boilerplate url on github

Dan Dan
Answer Source

You need to change the root directory inside of your connect task to serve files from app/.

gulp.task('connect', function(){
        root: 'app',
        port: 4000 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download