apm install --check
检测安装源是否正常Checking for native build tools ✗
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.2
gyp info using node@0.10.40 | darwin | x64
gyp http GET https://atom.io/download/atom-shell/v0.36.8/node-v0.36.8.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack at errnoException (net.js:905:11)
gyp ERR! stack at TCP.onread (net.js:559:19)
gyp ERR! System Darwin 15.4.0
gyp ERR! command "/Users/holoto/Downloads/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/holoto/Downloads/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.36.8" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure"
gyp ERR! cwd /Users/holoto/.atom
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
atom
本地用户配置文件atom ~/.atom/.apm/.apmrc
strict-ssl=false
https-proxy=http://127.0.0.1:8787/
http-proxy =http://127.0.0.1:8787/
添加代理IP地址 我使用的是lantern
apm install --check
Checking for native build tools ✓
ok 可以安装插件了