Fixing Bower install issues



Bower Install Issues :

Accessing git Protocol issue:

When trying bower install to install dependencies listed in bower.json(can modify) file , sometimes following error is encountered.
github.com[0: 207.97.227.239]: errno=Connection timed out
To overcome this error a small change can be made in .gitconfig file in the user's home directory.
git config --global url."https://".insteadOf git://
Using this all git commands will perform a substitution of git:// to https://
nnn


SSL Certificate verification Isssue :

 If you encounter the following error during installing dependencies :


exit code of #128 error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/ 
If you have an older version of browser or OS version, this can be fixed by updating it.

Or you can run the following command to modify your git config file.



git config --global http.sslVerify false
This will mandate not to verify certificates for the packages downloaded.


Please feel free to leave comments over any similar issues faced.

No comments: