generator-angular icon indicating copy to clipboard operation
generator-angular copied to clipboard

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

Open syed-shamshuddin opened this issue 7 years ago • 0 comments

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 [email protected] 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

syed-shamshuddin avatar Sep 27 '16 06:09 syed-shamshuddin