I\'m using \"yeoman\" and \"bower\" on windows 7 but got the following error when I create the app
yo webapp
The error is
I've also experienced some strange behavior with bower failing to install all dependencies.
None of posted solutions worked for me, that's why I'm posting this answer.
In my case bower install errored randomly almost each time with different package. All packages were on github, so why suddenly ?
unable to resolve github.com
Obviously something was wrong with networking.
Errors were on dockerized Ubuntu 16.04 running in virtualized rancher, so a number of possible points of failure were pretty big.
But fortunately the solution was extremely simple.
I realized that this is a basic installation and does not even have basic networking tools.
So after running apt install net-tools iputils-ping
all errors disappeared forever.
Pretty unexpected for me, hope it helps ...