cs150bf / ever-notedown

Atom Editor Plugin
MIT License
140 stars 13 forks source link

Unable to install behind company firewall #70

Open josephsieh opened 8 years ago

josephsieh commented 8 years ago

Unable to install ever-notedown package, while other atom packages can be installed properly behind company firewall. Here is the error message.

OS X: 10.11.5 Atom version: 1.8.0

Updating to “ever-notedown@0.2.22” failed.

npm ERR! git fetch -a origin (git://github.com/cs150bf/inline-css.git) fatal: unable to connect to github.com:
npm ERR! git fetch -a origin (git://github.com/cs150bf/inline-css.git) github.com[0: 192.30.252.131]: errno=Operation timed out
npm ERR! Darwin 15.5.0
npm ERR! argh "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/tester/.atom/.apm/.apmrc" "--userconfig" "/Users/tester/.atom/.apmrc" "install" "/private/var/folders/sr/m152n7251_zg422k_kw97dp40000gn/T/d-116527-92062-1yjpwwu/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.131]: errno=Operation timed out
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/sr/m152n7251_zg422k_kw97dp40000gn/T/apm-install-dir-116527-92062-kg11mo/npm-debug.log
ttimasdf commented 7 years ago

Do you have any proxy settings behind your firewall? If so, you may need to update your ~/.ssh /config to connect to Github via ProxyCommand because git protocol(unlike HTTPS) does not follow system proxy settings by default.