Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

problem with npm install #235

Closed
dlaub123 opened this issue Feb 23, 2015 · 17 comments
Closed

problem with npm install #235

dlaub123 opened this issue Feb 23, 2015 · 17 comments

Comments

@dlaub123
Copy link

I have no problem cloning the repo, but when I run npm install, I get this error:

C:\Users\laubd\angular-phonecat>npm install
npm WARN package.json karma-chrome-launcher@0.1.7 No README data

angular-phonecat@0.0.0 postinstall C:\Users\laubd\angular-phonecat
bower install

bower not-cached git://github.com/twbs/bootstrap.git#~3.1.1
bower resolve git://github.com/twbs/bootstrap.git#~3.1.1
bower not-cached git://github.com/angular/bower-angular-resource.git#1.3.x
bower resolve git://github.com/angular/bower-angular-resource.git#1.3.x
bower not-cached git://github.com/angular/bower-angular-animate.git#1.3.x
bower resolve git://github.com/angular/bower-angular-animate.git#1.3.x
bower not-cached git://github.com/jquery/jquery.git#~2.1.1
bower resolve git://github.com/jquery/jquery.git#~2.1.1
bower not-cached git://github.com/angular/bower-angular.git#1.3.x
bower resolve git://github.com/angular/bower-angular.git#1.3.x
bower not-cached git://github.com/angular/bower-angular-route.git#1.3.x
bower resolve git://github.com/angular/bower-angular-route.git#1.3.x
bower not-cached git://github.com/angular/bower-angular-mocks.git#1.3.x
bower resolve git://github.com/angular/bower-angular-mocks.git#1.3.x
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://githu
.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.128]: errno=No error

npm ERR! angular-phonecat@0.0.0 postinstall: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 postinstall script.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls angular-phonecat

@dlaub123
Copy link
Author

I'm 99% convinced this is a firewall issue where I work - because the install works fine for me at home...I think it boils down to git:// vs. http://

@pkozlowski-opensource
Copy link
Member

@dlaub123 this is what I was trying to tell you yesterday....

@xie-qianyue
Copy link

I have this problem too. As like decribed in #163, running the command git config --global url."https://".insteadOf git:// works for me.

@dlaub123
Copy link
Author

Thanks - this is Really very helpful! The root cause still being work
environments firewall out too much useful stuff

On Thu, Feb 26, 2015 at 4:17 AM, XIE Qianyue notifications@github.com
wrote:

I have this problem too. As like decribed in #163
#163, running the
command git config --global url."https://".insteadOf git:// works for me.


Reply to this email directly or view it on GitHub
#235 (comment)
.

@alajmo
Copy link

alajmo commented Jun 8, 2015

@xie-qianyue worked beautifully.

@ainsofs
Copy link

ainsofs commented Jun 18, 2015

thanx @xie-qianyue . your solutions worked for me on windows 7 64 bit running npm

@rubinchyk
Copy link

It's working for me also. I checked on 4 hosts.

@Qurbonov
Copy link

@xie-qianyue THANK YOU 👍

@xie-qianyue
Copy link

@dlaub123 It's the firewall blocking git protocol, and the configuration git config --global url."https://".insteadOf git:// works for manay people. Maybe this issue should be closed now?

@dudedev
Copy link

dudedev commented Nov 16, 2015

Thanks ! It worked for me too.

@buddalasunil999
Copy link

Thanks git config --global url."https://".insteadOf git:// worked for me

@fidelisfelipe
Copy link

Thanks ! it worked for me too.

@gkalpak gkalpak closed this as completed Apr 5, 2016
@gkalpak
Copy link
Member

gkalpak commented Apr 5, 2016

Thx @xie-qianyue 👍

@sheridanandrew13
Copy link

This problem has plagued me for a week, thanks @xie-qianyue for the fix.

@sid226
Copy link

sid226 commented Jun 30, 2017

worked for me thanks :)

@iruasev
Copy link

iruasev commented Dec 29, 2017

+1 Many thanks! ;)

@RidhoIdris
Copy link

RidhoIdris commented Jun 21, 2019

worked for me thanks 💯

alaxalves added a commit to publiclab/mapknitter that referenced this issue Jul 9, 2019
jywarren pushed a commit to publiclab/mapknitter that referenced this issue Jul 9, 2019
* Removing problematic dependencies

* Fixing dependencies management

* Regenerating lock file, thanks to angular/angular-phonecat#235 (comment)

* Installing latest node version

* Regenerating updated lockfile with latest node

* Adding lockfile to gitignore
chen-robert pushed a commit to chen-robert/mapknitter that referenced this issue Dec 5, 2019
* Removing problematic dependencies

* Fixing dependencies management

* Regenerating lock file, thanks to angular/angular-phonecat#235 (comment)

* Installing latest node version

* Regenerating updated lockfile with latest node

* Adding lockfile to gitignore
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests