shime / livedown

Live Markdown previews for your favorite editor.
MIT License
765 stars 45 forks source link

Can't install if port 22 is blocked #12

Closed faceleg closed 8 years ago

faceleg commented 9 years ago

I'm inside a heinous corporate firewall.

I get the following output when attempting to install this module:

npm install -g livedown
npm WARN optional dep failed, continuing fsevents@0.3.6

> ws@0.5.0 install /home/ME/.npm-packages/lib/node_modules/livedown/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest Cloning into bare repository '/home/solnet/.npm/_git-remotes/git-github-com-rase-node-XMLHttpRequest-01a5ec93'...
npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest ssh: connect to host github.com port 22: Connection timed out
npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest 
npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest Please make sure you have the correct access rights
npm ERR! git clone git@github.com:rase-/node-XMLHttpRequest and the repository exists.
npm ERR! notarget No compatible version found: xmlhttprequest@'rase-/node-XMLHttpRequest#a6b6f2'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0","1.2.0","1.2.1","1.2.2","1.3.0","1.4.0","1.4.2","1.5.0","1.6.0","1.7.0"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 3.16.6-2-desktop
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "livedown"
npm ERR! cwd /home/solnet
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ETARGET
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ME/npm-debug.log
npm ERR! not ok code 0
shime commented 9 years ago

Try opening up ~/.ssh/config and adding:

Host github.com
  Hostname ssh.github.com
  Port 443

(blatantly copied from http://stackoverflow.com/a/8081292/726020, thanks to the author)

faceleg commented 9 years ago

No luck.

This didn't happen a few days ago - has there been an updated in the intervening time?

shime commented 9 years ago

Nope, there were no recent updates.

faceleg commented 9 years ago

Do you happen to know which dependency is doing the equiv of "git clone"?

shime commented 8 years ago

Sorry for the long delay. I'm closing this, feel free to reopen if you're still having problems.