Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

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

Open
syed-shamshuddin opened this issue Sep 27, 2016 · 0 comments

Comments

@syed-shamshuddin
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant