I'm having problems getting bower install
working. I'm running through a yo webapp
generator which does scaffolds out for me.
In my bower.json
file, it give me two dependencies:
{
"name": "webapp-test",
"private": true,
"dependencies": {
"jquery": "~1.11.1",
"modernizr": "~2.8.2"
}
}
When I run a bower install
after the generator, I would think it would be pulling down all dependencies with that command. I have to run it 2x to get both dependencies. This seems wrong to me, why is not grabbing all dependencies with the first command?
I then try to run grunt serve
but that is failing, stating cannot find where you keep your bower packages .
In my webapp structure, I do not have a bower_components
directory. Shouldn't the bower install
command be giving me that?
Any ideas why my
bower install
and grunt serve
commands don't seem to be working?
I'm on Windows 7.
The answer is right there in the command shell, the system can not find git. The best bet is to install either MSysGit or Github for Windows.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.