打包报错:
Get "https://npmmirror.com/mirrors/electron/12.2.3/electron-v12.2.3-win32-64.zjp":
proxyconnect tcp:dial tcp:0:connectex:The requested address is not valid in its context.
gitHub用户提供解决方案
亲测可用
npm config delete proxy
npm config delete https-proxy
npm config delete noproxy
手动下载这个包,放到以下路径
没有试过
Linux: $XDG_CACHE_HOME or ~/.cache/electron/
macOS: ~/Library/Caches/electron/
Windows: $LOCALAPPDATA/electron/Cache or ~/AppData/Local/electron/Cache/