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.

Ember Js Installation on Ubuntu 14.04


Hello,

I faced few issues while installing it so listing down steps below incase it helps people :

Ember.js needs node.js and phantom js so we need to install them as well.

Installing NodeJs.

Follow the commands below :
sudo apt-get update
sudo apt-get install nodejs 
This should work straight forward, if not please check your internet connection. Then,
sudo apt-get install npm
 Above command will install nodejs successfully. But due to ubuntu packet mismatch it names it nodejs. Hence you need to use nodejs everywhere instead of node. Check installed version :
 nodejs --version
If you wish to avoid writing nodejs, you can create a symlink for the executable.
sudo ln -s /usr/bin/nodejs /usr/bin/node
Emberjs still uses node command internally so its better to create the above symlink.

Installing EmberJs and PhantomJs


npm install -g ember-cli
npm install -g phantomjs
Above commands will install ember and phantomjs and you can create ember projects from command line.
 ember new my-app
This might give some error if your system doesn't have git installed, install it using :
sudo apt-get install git
Then your project will be successfully created. More details can be found here .