Error when installing bower package - bower

I get an error when I try to install a bower packeg.
My error :
MacBook-Pro-de-Anthony:Front-End anthonycluse$ bower install flexslider
bower cached git://github.com/woothemes/FlexSlider.git#ce5441b214
bower validate ce5441b214 against git://github.com/woothemes/FlexSlider.git#*
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/woothemes/FlexSlider.git", exit code of #128
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.131]: errno=Connection refused

The error may be due to proxy/certificate connectivity issues, try following command for the error exit code of #128
git config --global url."https://".insteadOf git://

Related

How to properly bundle install on a Ruby on Rails web-app?

I am trying to run bundle install while in the base dir of a git cloned Ruby on Rails repo on an Ubuntu subsystem (on Windows 10). But I keep getting this error:
Fetching gem metadata from https://rubygems.org/..........
Fetching git#bitbucket.org:wishartlab/wishart
Forbidden
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Retrying `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` at /home/sukanta/phastest/phaster-web due to error (2/4):
Bundler::Source::Git::GitCommandError Git error: command `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` in directory /home/sukanta/phastest/phaster-web has failed.
If this error persists you could try removing the cache directory '/home/sukanta/phastest/phaster-web'
Retrying `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` at /home/sukanta/phastest/phaster-web due to error (3/4):
Bundler::Source::Git::GitCommandError Git error: command `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` in directory /home/sukanta/phastest/phaster-web has failed.
If this error persists you could try removing the cache directory '/home/sukanta/phastest/phaster-web' Retrying `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` at /home/sukanta/phastest/phaster-web due to error (4/4):
Bundler::Source::Git::GitCommandError Git error: command `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` in directory /home/sukanta/phastest/phaster-web has failed.
If this error persists you could try removing the cache directory '/home/sukanta/phastest/phaster-web'
Git error: command `git clone --bare --no-hardlinks --quiet -- git#bitbucket.org:wishartlab/wishart /home/sukanta/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/cache/bundler/git/wishart-32827d90c8420e2e6b6bd9330b841cfef2863a8c` in directory /home/sukanta/phastest/phaster-web has failed.
If this error persists you could try removing the cache directory '/home/sukanta/phastest/phaster-web'
I have added my ssh key to Bitbucket and have the rights to the repo so that should not be a problem.

Bundler::Source::Git::GitCommandError when using Inquisition gem

As per the client suggestion, I am using inquisition gem in my Rails 5.0 application. I followed this link and added gem in Gemfile and ran bundle, I got the following error:
E:\rails_projects\inquisition_example>bundle Fetching
https://github.com/rubygarage/inquisition.git fatal: unable to access
'https://github.com/rubygarage/inquisition.git/': error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Retrying git clone "https://github.com/rubygarage/inquisition.git"
"C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/inquisition-40e0b17fff1501354aa91e3ff3bbb85f990b5f49"
--bare --no-hardlinks --quiet due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command git clone
"https://github.com/rubygarage/inquisition.git"
"C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/cache/bundler/git/inquisition-40e0b17fff1501354aa91e3ff3bbb85f990b5f49"
--bare --no-hardlinks --quiet in directory E:/rails_projects/inquisition_example has failed. fatal: unable to
access 'https://github.com/rubygarage/inquisition.git/':
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
protocol version
Please help me out.
This error means that the OpenSSL version you are using in Git's libcurl is too old. GitHub only supports TLS 1.2 and 1.3, and the version of OpenSSL that libcurl is compiled with doesn't know how to negotiate those versions.
Since it looks like you're using Windows, you should update Git for Windows to the latest version, which will include an updated version of OpenSSL and libcurl so Git will work.

Mac10.13 HTTPS OpenSSL error

When I update to Mac 10.13.3,While I install HomeBrew and CocoaPods. the terminal will throw a OpenSSL error
the error is as follows:
fatal: unable to access 'https://github.com/Homebrew/brew/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force
how to solve it.

How to install package locally in bower?

I am trying to install a local Jquery ui through bower.
I have a local folder called jquery-ui and ran the following command
bower install jquery-ui/jquery-ui.min.css --save
It gave me the following errors
bower jquery-ui.min.css#* resolve git://github.com/jquery-ui/jquery-ui.min.css.git#*
bower jquery-ui.min.css#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery-ui/jquery-ui.min.css.git", exit code of #128
I am not sure why bower look for the remove git, all I need is to add the local file into bower. Do I miss something here? Thanks a lot!
You should try:
bower install ./jquery-ui/jquery-ui.min.css --save

Ruby bundle install error

I'm trying to install forem on my server, and i'm getting this error when I run bundle install:
Fetching git://github.com/radar/forem.git
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
Git error: command `git clone 'git://github.com/radar/forem.git' "/home/box1/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e" --bare --no-hardlinks` in directory /home/box1/rails_apps/forem has failed.
Try cloning using HTTP and not SSH:
git clone https://github.com/radar/forem.git
See answer and comments to similar question.

Resources