mac osx 下 安装atom github官方出品的开发工具

MAC OSX 下安装

mac osx 下 安装atom github官方出品的开发工具_第1张图片

官方GITHUB地址

国内镜像下载更快

下载安装好 开始配置包管理器apm

使用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 ~/.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 可以安装插件了

你可能感兴趣的:(编程日记,power,tools,前端开发,react)