bower installation problem

Skip to first unread message

Denis Shatov

May 25, 2014, 11:08:10 PM5/25/14

I'm trying to install the latest version of library using bower (v. 1.3.3) but it fails with the following message:
$ bower install timezone-js#v0.4.11
(skipped bower output)
bower timezone-js#v0.4.4                       ECMDERR Failed to execute "git ls-remote --tags --heads", exit code of #128

Additional error details:
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Other packages (angular, jquery, etc) have been installed successfully.

Trying to run git command mentioned ("git ls-remote --tags --heads") manually result in the same error.
After some modification I succeeded to run the command in the following form:
git ls-remote --tags --heads git://

Is there some bower packaging error?

Regards, Denis

Matthew Eernisse

May 25, 2014, 11:11:57 PM5/25/14
The repo is public, and the bower.json file looks fine, from what I can see:

Maybe you need to access it via HTTP instead of SSH?

You received this message because you are subscribed to the Google Groups "timezone-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

Denis Shatov

May 25, 2014, 11:21:28 PM5/25/14
Unfortunately I'm not very familiar with bower. To enable access via HTTP instead of SSH should I use full URL starting with http:// (or https://) like
bower install
or I should somehow configure bower/git?

P.S. Initially I wasn't installing the library directly but as a dependency of angular-tz-extensions.

понедельник, 26 мая 2014 г., 11:11:57 UTC+8 пользователь Matthew Eernisse написал:

Matthew Eernisse

May 25, 2014, 11:30:42 PM5/25/14
Github lists the HTTP URL as:

I don't see any error or problem with the bower file. Unfortunately I don't know much about Bower either. The functionality seems kind of redundant with NPM, so I'm not sure when I'd ever use it.

Any way you can simply install it with NPM?

Denis Shatov

May 26, 2014, 12:33:53 AM5/26/14
Thank you for your answers, Matthew!

It seems that it is angular-tz-extensions issue. Incorrect URL ( is specified in their bower.json file.
After removing it from application dependencies and cleaning bower cache timezone-js has ben installed successfully

понедельник, 26 мая 2014 г., 11:30:42 UTC+8 пользователь Matthew Eernisse написал:

Matthew Eernisse

May 26, 2014, 12:37:22 AM5/26/14
Excellent! Glad you were able to get it sorted out. :)
Reply all
Reply to author
0 new messages