electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.46k stars 1.71k forks source link

electron打包报错 #8255

Open 955965 opened 3 weeks ago

955965 commented 3 weeks ago

在我怕的vue3项目里使用了elctron和electron-builder 版本为 "electron": "^31.0.0", "electron-builder": "^24.13.3" 在项目打包的时候总是报错Get "https://npm.taobao.org/mirrors/electron/31.0.0/electron-v31.0.0-win32-x64.zip": proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.

这是什么原因? 1717747706500

ifurther commented 3 weeks ago

Hi you picture show the error link which is belong gihtub.com, and it is not npm.taobao.org. Maybe you could manual download the file with the command showing, and put it to %appdata%/../Local\electron\Cache