Saturday 15 January 2011

angularjs - Why doesn't the yeoman angularfire generator work from the start? -



angularjs - Why doesn't the yeoman angularfire generator work from the start? -

after doing generator-angularfire installation , running grunt , grunt serve, i'm getting errors angular not defined in of js files: https://www.dropbox.com/s/8u6d3bfn854iso2/screenshot%202014-10-31%2012.40.18.png?dl=0

i'm going assume generator works because it's maintained firebase (https://github.com/firebase/generator-angularfire).

that said, followed these exact instructions readme , isn't working:

install generator-angularfire:

npm install -g generator-angularfire

make new directory, , cd it:

mkdir my-new-project && cd $_

run yo angularfire, optionally passing app name:

yo angularfire [app-name]

run grunt building , grunt serve preview

i believe there bug in recent generator-angularfire doesn't list bower or grunt-cli dependency. next , seek 1 time again before yo:

npm install -g bower grunt-cli

angularjs gruntjs yeoman yeoman-generator yeoman-generator-angular

No comments:

Post a Comment