Closed Brendonslash closed 9 years ago
Did you only run make
? :P
npm ERR! git clone git://github.com/ariya/esprima.git Cloning into bare repository '/home/dheeraj/.npm/_git-remotes/git-github-com-ariya-esprima-git-9077e517'...
npm ERR! git clone git://github.com/ariya/esprima.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/ariya/esprima.git github.com[0: 192.30.252.131]: errno=Connection timed out
npm ERR! Error: Command failed: Cloning into bare repository '/home/dheeraj/.npm/_git-remotes/git-github-com-ariya-esprima-git-9077e517'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.131]: errno=Connection timed out
I have removed the previous copy and made a fresh install
git submodule update --init
make
And the above error was shown, but when I cloned into the repo ariya/esprima.gi it was working well. So possibly it is not a network issue.
I think your system is configured to access Github using http://
but not with git://
protocol. npm
, as you can see in the error messages is trying to use git://
protocol. So, run the command
git config --global url."https://".insteadOf git://
and then run the installation commands again or better start with a fresh install :wink:
This is the error I get when I do make I'm not familiar with ruby so please tell the solution thanks.