纸帆|ZevenFang

我们终其一生寻找的无非是那个甘愿为你停下脚步,为你驻足的人。

0%

1
2
3
4
# 一次性代理
git clone -c http.proxy="http://127.0.0.1:1087" https://github.com/
# 全局设置代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086

1
2
npm --registry https://registry.npm.taobao.org i your-pack
npm i -g mirror-config-china --registry=https://registry.npm.taobao.org -f

解决方案:

1
export ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/

1
2
3
4
5
6
# 修改npm参数
npm install --python=python2.7 # 使用--python选项
npm config set python python2.7 # 设置为默认使用
# 修改环境变量
export PYTHON=python2.7 # Linux
set PYTHON=python2.7 # Windows