使用electron
打包失败,报如下错误:
bash
proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.
解决办法
bash
npm config delete proxy
npm config delete https-proxy
如果设置了代理,使用以下命令设置
bash
npm config set proxy=http://127.0.0.1:8087
npm config set https-proxy=https://127.0.0.1:8087