Electron electron-packager package, the command card is shown here, why?

clipboard.png

Mar.24,2021

replace it with electron-builder, and in this case, it is generally a network problem


the same question is also stuck all the time


download a corresponding version directly in the Taobao image and put it in the user directory under the folder


.

you can set the mirror source of Electron to re-build of Taobao

-sharp macOS
export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"

-sharp Windows
set ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"

Menu