Atom安装所有包都失败

输出如下:

✘ Akring  ~  apm install dash --verbose
Installing dash to /Users/Akring/.atom/packages REQUEST { url: 'https://atom.io/api/packages/dash',
 json: true,
 retries: 4,
 proxy: null,
 strictSSL: true,
 headers: { 'User-Agent': 'npm/2.13.3 node/v0.10.40 darwin x64' },
 callback: [Function],
 method: 'GET' }
REQUEST make request https://atom.io/api/packages/dash
REQUEST onRequestResponse https://atom.io/api/packages/dash 200 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:43 GMT',
 status: '200 OK',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 'content-type': 'application/json; charset=utf-8',
 etag: 'W/"d02b91b9b882cac8e036533b47c73e54"',
 'cache-control': 'max-age=0, private, must-revalidate',
 'x-request-id': 'e5a07f07-0e62-4026-b526-6b7f07890df3',
 'x-runtime': '0.018701',
 'x-rack-cache': 'miss',
 vary: 'Origin',
 via: '1.1 vegur' }
REQUEST finish init function https://atom.io/api/packages/dash
REQUEST response end https://atom.io/api/packages/dash 200 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:43 GMT',
 status: '200 OK',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 'content-type': 'application/json; charset=utf-8',
 etag: 'W/"d02b91b9b882cac8e036533b47c73e54"',
 'cache-control': 'max-age=0, private, must-revalidate',
 'x-request-id': 'e5a07f07-0e62-4026-b526-6b7f07890df3',
 'x-runtime': '0.018701',
 'x-rack-cache': 'miss',
 vary: 'Origin',
 via: '1.1 vegur' }
REQUEST end event https://atom.io/api/packages/dash
REQUEST has body https://atom.io/api/packages/dash 11898
REQUEST emitting complete https://atom.io/api/packages/dash
REQUEST { url: 'https://www.atom.io/api/packages/dash/versions/1.5.0/tarball',
 proxy: null,
 strictSSL: true,
 headers: { 'User-Agent': 'npm/2.13.3 node/v0.10.40 darwin x64' },
 method: 'GET',
 callback: undefined }
REQUEST make request https://www.atom.io/api/packages/dash/versions/1.5.0/tarball
REQUEST onRequestResponse https://www.atom.io/api/packages/dash/versions/1.5.0/tarball 302 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:46 GMT',
 status: '302 Found',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 location: 'https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0',
 'content-type': 'text/html; charset=utf-8',
 'cache-control': 'no-cache',
 'x-request-id': '24ce616e-1130-4134-a451-6dac463c5b6a',
 'x-runtime': '0.153470',
 'x-rack-cache': 'miss',
 vary: 'Origin',
 via: '1.1 vegur' }
REQUEST redirect https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0
REQUEST redirect to https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0
REQUEST {}
REQUEST make request https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0
REQUEST response end https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0 302 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:46 GMT',
 status: '302 Found',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 location: 'https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0',
 'content-type': 'text/html; charset=utf-8',
 'cache-control': 'no-cache',
 'x-request-id': '24ce616e-1130-4134-a451-6dac463c5b6a',
 'x-runtime': '0.153470',
 'x-rack-cache': 'miss',
 vary: 'Origin',
 via: '1.1 vegur' }
REQUEST onRequestResponse https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0 200 { 'content-length': '5963',
 'access-control-allow-origin': 'https://render.githubusercontent.com',
 'content-security-policy': 'default-src \'none\'',
 'x-xss-protection': '1; mode=block',
 'x-frame-options': 'deny',
 'x-content-type-options': 'nosniff',
 'strict-transport-security': 'max-age=31536000',
 vary: 'Authorization,Accept-Encoding',
 etag: '"9aaa78935d56acc9f75915356886f0ca75150b53"',
 'content-type': 'application/x-gzip',
 'content-disposition': 'attachment; filename=blakeembrey-atom-dash-v1.5.0-0-g9aaa789.tar.gz',
 date: 'Fri, 18 Dec 2015 02:16:48 GMT',
 'x-github-request-id': '758855C5:2F46:130B6544:56736C8F' }
REQUEST finish init function https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0
REQUEST response end https://codeload.github.com/blakeembrey/atom-dash/legacy.tar.gz/v1.5.0 200 { 'content-length': '5963',
 'access-control-allow-origin': 'https://render.githubusercontent.com',
 'content-security-policy': 'default-src \'none\'',
 'x-xss-protection': '1; mode=block',
 'x-frame-options': 'deny',
 'x-content-type-options': 'nosniff',
 'strict-transport-security': 'max-age=31536000',
 vary: 'Authorization,Accept-Encoding',
 etag: '"9aaa78935d56acc9f75915356886f0ca75150b53"',
 'content-type': 'application/x-gzip',
 'content-disposition': 'attachment; filename=blakeembrey-atom-dash-v1.5.0-0-g9aaa789.tar.gz',
 date: 'Fri, 18 Dec 2015 02:16:48 GMT',
 'x-github-request-id': '758855C5:2F46:130B6544:56736C8F' }
gyp info it worked if it ends with ok
gyp verb cli [ '/Applications/Atom.app/Contents/Resources/app/apm/bin/node',
gyp verb cli   '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'install',
gyp verb cli   '--target=0.34.3',
gyp verb cli   '--dist-url=https://atom.io/download/atom-shell',
gyp verb cli   '--arch=x64',
gyp verb cli   '--ensure',
gyp verb cli   '--verbose' ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command install []
gyp verb install input version string "0.34.3"
gyp verb install installing version: 0.34.3
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 0.34.3
gyp verb ensuring nodedir is created /Users/Akring/.atom/.node-gyp/.node-gyp/0.34.3
gyp verb created nodedir /Users/Akring/.atom/.node-gyp/.node-gyp/0.34.3
gyp http GET https://atom.io/download/atom-shell/v0.34.3/node-v0.34.3.tar.gz
REQUEST { uri: 'https://atom.io/download/atom-shell/v0.34.3/node-v0.34.3.tar.gz',
 headers: { 'User-Agent': 'node-gyp v2.0.2 (node v0.10.40)' },
 callback: undefined }
REQUEST make request https://atom.io/download/atom-shell/v0.34.3/node-v0.34.3.tar.gz
REQUEST onRequestResponse https://atom.io/download/atom-shell/v0.34.3/node-v0.34.3.tar.gz 302 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:50 GMT',
 status: '302 Found',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 location: 'http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz',
 'content-type': 'text/html; charset=utf-8',
 'cache-control': 'no-cache',
 'x-request-id': 'da4b7ec3-f0d8-408f-b518-4c840e810ccc',
 'x-runtime': '0.013130',
 'x-rack-cache': 'miss',
 via: '1.1 vegur' }
REQUEST redirect http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz
REQUEST redirect to http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz
REQUEST {}
REQUEST make request http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz
REQUEST response end http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz 302 { server: 'Cowboy',
 connection: 'close',
 date: 'Fri, 18 Dec 2015 02:16:50 GMT',
 status: '302 Found',
 'strict-transport-security': 'max-age=631152000',
 'x-frame-options': 'DENY',
 'x-xss-protection': '1; mode=block',
 'x-content-type-options': 'nosniff',
 'content-security-policy': 'default-src \'self\'; connect-src \'self\'; font-src \'self\'; frame-src \'self\' https://www.youtube.com; img-src https://* \'self\' data:; media-src \'none\'; object-src \'self\'; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src \'self\' \'unsafe-inline\';',
 location: 'http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.34.3/node-v0.34.3.tar.gz',
 'content-type': 'text/html; charset=utf-8',
 'cache-control': 'no-cache',
 'x-request-id': 'da4b7ec3-f0d8-408f-b518-4c840e810ccc',
 'x-runtime': '0.013130',
 'x-rack-cache': 'miss',
 via: '1.1 vegur' }
gyp WARN install got an error, rolling back install
gyp verb command remove [ '0.34.3' ]
gyp verb remove using node-gyp dir: /Users/Akring/.atom/.node-gyp/.node-gyp
gyp verb remove removing target version: 0.34.3
gyp verb remove removing development files for version: 0.34.3
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.2.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.34.3" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure" "--verbose"
gyp ERR! cwd /Users/Akring/.atom
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok


✘ Akring  ~ 

网络问题,解决方案见这个帖子的回复 Atom 安装插件时因网络原因失败怎么办?

感谢,但是我这边只有Shadowsocks,想请教下如何配置呢?

你可以按照那个帖子里提到的「socks 代理」设置一下,Shadowsocks 的客户端提供的就是 socks5 代理。

需要挂梯子,码农不能没有梯子,我用的是天路加速器,看他们教程,加速效果明显