I get an error message like this when I try to install the package
npm ERR! git clone git://github.com/klorenz/railroad-diagrams.git Cloning into bare repository '/home/abinashmeher999/.atom/.apm/_git-remotes/git-github-com-klorenz-railroad-diagrams-git-e7ef8859'...
npm ERR! git clone git://github.com/klorenz/railroad-diagrams.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/klorenz/railroad-diagrams.git github.com[0: 192.30.252.131]: errno=Connection refused
npm ERR! git clone git://github.com/klorenz/regexp.git Cloning into bare repository '/home/abinashmeher999/.atom/.apm/_git-remotes/git-github-com-klorenz-regexp-git-00540c62'...
npm ERR! git clone git://github.com/klorenz/regexp.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/klorenz/regexp.git github.com[0: 192.30.252.131]: errno=Connection refused
npm ERR! Linux 3.13.0-55-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/abinashmeher999/.atom/.apm/.apmrc" "--userconfig" "/home/abinashmeher999/.atom/.apmrc" "install" "/tmp/d-11568-4395-15i8k7r/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code 128
npm ERR! Command failed: Cloning into bare repository '/home/abinashmeher999/.atom/.apm/_git-remotes/git-github-com-klorenz-railroad-diagrams-git-e7ef8859'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.131]: errno=Connection refused
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-11568-4395-vrxejx/npm-debug.log
Maybe this is because I use atom behind proxy and the git clone command above is executed with the git:// beginning url. I have faced this problem before when I have tried to clone a repo with it's git url, it has failed. Changing the url to a https one might solve the issue.
I get an error message like this when I try to install the package
Maybe this is because I use atom behind proxy and the
git clone
command above is executed with thegit://
beginning url. I have faced this problem before when I have tried to clone a repo with it's git url, it has failed. Changing the url to a https one might solve the issue.