Self-post for me as I have already had to re-learn this 3 times now…
Company firewalls and policies can prevent npm and bower installing correctly.
Switching protocols
Some companies will blacklist the git protocol => git://github.com/modulename
so we can change this to use http using:
1
|
|
Setting git to use a proxy
If your company runs a proxy, set git to use it. Get your proxy from your IE settings. Set your git config to use the proxy here:
1 2 3 4 5 |
|
Bower will need futher updates as it uses lower case settings on the env variables:
1 2 |
|