The github error was caused by my company blocking the git port.

This is a common problem that is easily solved by configuring git to use
https:
https://coderwall.com/p/sitezg



On Thu, Apr 24, 2014 at 9:02 AM, Jing Teng <[email protected]> wrote:

> I am having the exact same issue
>
>
> On Wednesday, April 2, 2014 2:43:00 PM UTC-4, Nate Reed wrote:
>
>> "npm install" actually fails this way when I make the package.json
>> modifications above:
>>
>> bower angular-mocks#~1.2.15             ECMDERR Failed to execute "git
>> ls-remote --tags --heads git://github.com/angular/bower-angular-mocks.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
>>
>> I'm guessing I shouldn't be mucking around with package.json but thought
>> maybe that could get it working.
>>
>> Now it seems to be a problem with this github repo?
>>
>>
>>
>> On Wed, Apr 2, 2014 at 1:38 PM, Nate Reed <[email protected]> wrote:
>>
>>> I'm running into a problem with the initial setup, on the "npm install"
>>> command:
>>>
>>> Nates-MacBook-Pro-2:angular-phonecat nate$ npm install
>>> npm http GET https://registry.npmjs.org/protractor
>>> npm http GET https://registry.npmjs.org/karma
>>> npm http GET https://registry.npmjs.org/shelljs
>>> npm http GET https://registry.npmjs.org/http-server
>>> npm http GET https://registry.npmjs.org/bower
>>> npm http 304 https://registry.npmjs.org/protractor
>>> npm http 304 https://registry.npmjs.org/shelljs
>>> npm ERR! Error: No compatible version found: shelljs@'^0.2.6'
>>> npm ERR! Valid install targets:
>>> npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.
>>> 0.8","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0"
>>> ,"0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.0.1-
>>> alpha1","0.0.2-pre1","0.0.4-pre1","0.0.5-pre1","0.0.5-
>>> pre2","0.0.5-pre3","0.0.5-pre4","0.0.6-pre1","0.0.6-pre2"]
>>>
>>> ....
>>>
>>> Seems to have a problem with the version specification "^0.2.6."
>>> Changing this to "0.2.6" (and updating all the package specifications
>>> similarly in package.json) makes the install work, but it's not
>>> automatically invoking bower install. Manually invoking "bower install" is
>>> not putting the packages in the expected place (bower_components, which is
>>> not getting created).
>>>
>>> I am running node 0.89.
>>>
>>>  --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "AngularJS" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/angular/_lwxStCObC4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/_lwxStCObC4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to