atom不能安装插件 apm install --check报错

atom不能安装插件 apm install --check报错
以下是报错信息

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp http GET https://atom.io/download/electron/v1.3.13/iojs-v1.3.13.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: socket hang up
gyp ERR! stack at TLSSocket.onHangUp (_tls_wrap.js:1049:19)
gyp ERR! stack at TLSSocket.g (events.js:260:16)
gyp ERR! stack at emitNone (events.js:72:20)
gyp ERR! stack at TLSSocket.emit (events.js:166:7)
gyp ERR! stack at endReadableNT (_stream_readable.js:913:12)
gyp ERR! stack at nextTickCallbackWith2Args (node.js:442:9)
gyp ERR! stack at process._tickCallback (node.js:356:17)
gyp ERR! System Darwin 16.4.0
gyp ERR! command “/Applications/Atom.app/Contents/Resources/app/apm/bin/node” “/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/bin/node-gyp.js” “install” “–runtime=electron” “–target=1.3.13” “–dist-url=https://atom.io/download/electron” “–arch=x64” “–ensure”
gyp ERR! cwd /Users/peterxu/.atom
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

我已试过 修改 apm registry taobao
使用vpn
可是还是安装不了 。痛苦
我的是mac系统

1赞