I can see the proper name for the package.json in the master branch code. But when i install it using yo, the name has spaces like "name": "generator gulp angular2".
Because of that i am getting the following error.

I think you also have to modify the name to "name": "generator-gulp-angular2", even when we install it from the yo.