yeoman / generator-angular

Yeoman generator for AngularJS
http://yeoman.io
5.73k stars 1.44k forks source link

Grunt serve is not working when we scaffold new project using Yeoman #1365

Open syed-shamshuddin opened 8 years ago

syed-shamshuddin commented 8 years ago

Hi

We are building a development project using angular js and we chose the workflow automation tools Grunt, yeoman.

We have installed the nodejs downloading it from the http://nodejs.org. We have installed the latest available Also downloaded http://git-scm.com/downloads unzipped contents and installed. The Path has been set to point to C:\Program Files\nodejs and C:\Program Files\Git\cmd;C:\Program Files\Git\bin; as well in the path in the system variables Ran the following: npm install -g grunt -cli npm install -g bower npm install -g generator-angular@0.9.8 npm install -g yo Then created a Application directory in D:\StockDog cd into that directory and ran yo angular We did not get any error when this executed But when we ran grunt serve we were faced with bower_components not found We resolved by running bower install

Then did a grunt serve --force Here is the error we get D:\StockDog>grunt serve Running "serve" task

Running "clean:server" (clean) task

Running "wiredep:app" (wiredep) task Verifying property wiredep.app.src exists in config...ERROR

Unable to process task. Warning: Required config property "wiredep.app.src" missing. Use --force to cont

Aborted due to warnings.

Execution Time (2016-09-27 06:06:53 UTC) loading tasks 16ms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 50% wiredep:app 16ms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 50% Total 32ms

http://localhost:9000/#

However the default application loads but a plain page with no components whatsoever installed. Could you let us know what is missing here.

Thanks Syed