

关于atom找不到指定shell的问题可以使用这个替换
issue https://github.com/atom/atom/issues/25481
…answering my own question, for other devs who might be facing this issue:
https://electronjs.org/headers/v19.0.0/node-v19.0.0-headers.tar.gz

(dist-url = https://electronjs.org/headers as found in the doc: https://www.electronjs.org/docs/latest/tutorial/using-native-node-modules#manually-building-for-electron )

I am leaving this issue open just in case something can be fixed in the Atom file server.


需要配置环境变量
export npm_config_disturl=https://electronjs.org/headers
export npm_config_target=11.0.0-beta.11 #这里要改为electron相对应的版本
export npm_config_arch=x64
export npm_config_runtime=electron
其它系统使用export替换set



https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg  py2.7的下载路径


// 构建太慢的话需要设置淘宝镜像源，要不然太慢了
registry=https://registry.npm.taobao.org
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=http://npm.taobao.org/mirrors/phantomjs
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/

