GithubHelp home page GithubHelp logo

electron-userland / electron-builder-binaries Goto Github PK

View Code? Open in Web Editor NEW
172.0 172.0 60.0 103.68 MB

Shell 2.48% NSIS 96.45% HTML 0.28% JavaScript 0.11% CMake 0.48% Dockerfile 0.04% Makefile 0.09% Python 0.07%

electron-builder-binaries's People

Contributors

beyondkmp avatar dangeredwolf avatar develar avatar ghostdev26 avatar janealter avatar juncaixinchi avatar logidelic avatar yarcub avatar ybw0619 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

electron-builder-binaries's Issues

Please update fpm to fix rpm aarch64 build

The aarch64 rpm built by electron-builder 23.0.4 can not installed on Fedora 35 Linux aarch64. For example,

sudo rpm -i https://github.com/MrMYHuang/cbetar2/releases/download/v19.0.0/cbetar2_19.0.0_linux_aarch64.rpm
        package cbetar2-19.0.0-1.arm64 is intended for a different architecture                                           

It seems to be a bug of fpm
jordansissel/fpm#1775
It has been fixed in fpm 1.13.0:
https://fpm.readthedocs.io/en/v1.13.1/changelog.html?highlight=arm64

Please update fpm to the latest version for fixing this issue. Thanks.

Cannot use InstallLib in nsis

When I try to install a DLL by the following script in a custom NSIS script

!macro customInstall
    !include Library.nsh
    !define LIBRARY_X64
    !insertmacro InstallLib REGDLL NOTSHARED REBOOT_NOTPROTECTED $BUILD_RESOURCES_DIR/somelib.dll $SYSDIR\somelib.dll $SYSDIR
!macroend

I got the following error

Error output:
sh: LibraryLocal: command not found

Looking for electron-builder-binaries/nsis/mac, actually there is no LibraryLocal, and also electron-builder-binaries/nsis/Bin/ doesn't have LibraryLocal.exe, too.

Could you please add LibraryLocal for all platforms?

error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

I'm trying to build signal-desktop on Arch Linux, I get the following build failure. Is there a way to have electron-builder use the system fpm/ruby?

[build:release   ] Copying en-US.pak to lo.pak
[build:release   ] Copying en-US.pak to mk.pak
[build:release   ] Copying en-US.pak to nn.pak
[build:release   ] Copying en-US.pak to no.pak
[build:release   ] Copying en-US.pak to pa.pak
[build:release   ] Copying en-US.pak to ps.pak
[build:release   ] Copying en-US.pak to sq.pak
[build:release   ] Copying en-US.pak to ug.pak
[build:release   ] Copying en-US.pak to ur.pak
[build:release   ]   • building        target=deb arch=x64 file=release/signal-desktop_5.32.0_amd64.deb
[build:release   ]   • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z size=5.0 MB parts=1
[build:release   ]   • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/fpm-1.9.3-2.3.1-linux-x86_64/fpm-1.9.3-2.3.1-linux-x86_64.7z duration=1.24s
[build:release   ]   ⨯ cannot execute  cause=exit status 127
[build:release   ]                     errorOut=/build/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/ruby/bin.real/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
[build:release   ]     
[build:release   ]                     command=/build/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t deb -d libnotify4 -d libxtst6 -d libnss3 -d libasound2 -d libxss1 --deb-recommends libappindicator3-1 --deb-compression xz --architecture amd64 --after-install /tmp/t-fQEyjm/0-after-install --after-remove /tmp/t-fQEyjm/1-after-remove --description '
[build:release   ]      Private messaging from your desktop' --version 5.32.0 --package /build/signal-desktop/src/Signal-Desktop-5.32.0/release/signal-desktop_5.32.0_amd64.deb --name signal-desktop --maintainer 'Open Whisper Systems <[email protected]>' --url 'https://github.com/signalapp/Signal-Desktop#readme' --vendor 'Open Whisper Systems <[email protected]>' --deb-priority optional --license AGPL-3.0-only /build/signal-desktop/src/Signal-Desktop-5.32.0/release/linux-unpacked/=/opt/Signal /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/16x16.png=/usr/share/icons/hicolor/16x16/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/24x24.png=/usr/share/icons/hicolor/24x24/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/32x32.png=/usr/share/icons/hicolor/32x32/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/48x48.png=/usr/share/icons/hicolor/48x48/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/64x64.png=/usr/share/icons/hicolor/64x64/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/128x128.png=/usr/share/icons/hicolor/128x128/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/256x256.png=/usr/share/icons/hicolor/256x256/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/512x512.png=/usr/share/icons/hicolor/512x512/apps/signal-desktop.png /build/signal-desktop/src/Signal-Desktop-5.32.0/build/icons/png/1024x1024.png=/usr/share/icons/hicolor/1024x1024/apps/signal-desktop.png /tmp/t-fQEyjm/2-Signal.desktop=/usr/share/applications/signal-desktop.desktop
[build:release   ]                     workingDir=
[build:release   ] error Command failed with exit code 1.
[build:release   ] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[build:release   ] error Command failed with exit code 1.
[build:release   ] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build:release" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/kpcyrd/build

Failed to build NSIS installer on Mac: NSIS_CONFIG_LOG not defined

I am experiencing a failure to build Windows NSIS installer/uninstaller on macOS, whenever the installer.nsh script references LogSet and/or LogText. If I comment those out, it builds fine. Here is the error I'm getting:

Processing script file: "<stdin>" (UTF8)
Error: LogSet specified, NSIS_CONFIG_LOG not defined.
Error in macro customUnInit on macroline 2
!include: error in script: "uninstaller.nsh" on line 18
Error in script "<stdin>" on line 167 -- aborting creation process
  • exited          command=makensis code=1 pid=51368
  • async task error  error=/Users/lwalters/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
  ⨯ /Users/lwalters/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  stackTrace=
                                                                                                                                           Error: /Users/lwalters/Library/Caches/electron-builder/nsis/nsis-3.0.4.2/mac/makensis exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
                                                                                                                                               at ChildProcess.<anonymous> (/Users/lwalters/<redacted>/node_modules/builder-util/src/util.ts:239:14)
                                                                                                                                               at Object.onceWrapper (events.js:422:26)
                                                                                                                                               at ChildProcess.emit (events.js:315:20)
                                                                                                                                               at maybeClose (internal/child_process.js:1026:16)
                                                                                                                                               at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1

Based on my understanding, the 3.0.4.2 version of the NSIS binary from this repo should contain the fix to set NSIS_CONFIG_LOG=1, in this commit 0a8031d. Therefore, logging should be enabled. Building on Windows has no problem.

It would be great to know if this is an issue with building for NSIS logging on Mac, or if something is wrong in my configuration. Thank you.

AppImage and snap builds fail on ARMv7

  • Version: 22.9.1
  • Electron Version: 8.5.5
  • Electron Type (current, beta, nightly): current
  • Target: armv7l/arm/arm32

Unable to build an AppImage for --armv7l due to missing xz compressor in mksquashfs. This affects both AppImage and snap on ARM 32-bit since snap seems to rely on AppImage. This is also noted in electron-userland/electron-builder#5153

  • electron-builder  version=22.9.1 os=5.4.0-58-generic
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=armv7l electron=8.5.5 appOutDir=dist/linux-armv7l-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v8.5.5/electron-v8.5.5-linux-armv7l.zip size=62 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v8.5.5/electron-v8.5.5-linux-armv7l.zip duration=5.438s
  • building        target=snap arch=armv7l file=dist/bridgecmdr_2.0.0-beta_armhf.snap
  • default Electron icon is used  reason=application icon is not set
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/snap-template-4.0-1/snap-template-electron-4.0-1-armhf.tar.7z size=1.3 MB parts=1
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/snap-template-4.0-1/snap-template-electron-4.0-1-armhf.tar.7z duration=1.954s
  • downloading     url=https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z size=1.6 MB parts=1
  • downloaded      url=https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z duration=2.761s
  ⨯ cannot execute  cause=exit status 1
                    errorOut=/home/node/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressor "xz" is not supported!
    /home/node/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressors available:
    	gzip (default)
    
                    command=/home/node/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/desktop-init.sh /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/.DS_Store /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/usr /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/data-dir /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/desktop-common.sh /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/gnome-platform /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/desktop-gnome-specific.sh /home/node/.cache/electron-builder/snap/snap-template-electron-4.0-1-armhf/lib /workdir/dist/__snap-armhf/meta /workdir/dist/__snap-armhf/command.sh /workdir/dist/__snap-armhf/scripts /workdir/dist/linux-armv7l-unpacked/resources.pak /workdir/dist/linux-armv7l-unpacked/locales /workdir/dist/linux-armv7l-unpacked/v8_context_snapshot.bin /workdir/dist/linux-armv7l-unpacked/chrome_200_percent.pak /workdir/dist/linux-armv7l-unpacked/swiftshader /workdir/dist/linux-armv7l-unpacked/resources /workdir/dist/linux-armv7l-unpacked/bridgecmdr /workdir/dist/linux-armv7l-unpacked/libEGL.so /workdir/dist/linux-armv7l-unpacked/vk_swiftshader_icd.json /workdir/dist/linux-armv7l-unpacked/crashpad_handler /workdir/dist/linux-armv7l-unpacked/icudtl.dat /workdir/dist/linux-armv7l-unpacked/libffmpeg.so /workdir/dist/linux-armv7l-unpacked/libvk_swiftshader.so /workdir/dist/linux-armv7l-unpacked/chrome_100_percent.pak /workdir/dist/linux-armv7l-unpacked/snapshot_blob.bin /workdir/dist/linux-armv7l-unpacked/libGLESv2.so /workdir/dist/bridgecmdr_2.0.0-beta_armhf.snap -no-progress -quiet -noappend -comp xz -no-xattrs -no-fragments -all-root

Support to sign MSI in linux

I'm using docker to build and sign msi target and getting the following error:

Failed
libgsf is not available, msi support is disabled: /usr/src/app/dist/myapp-electron-ia32.msi

I see that the msi signing is supported in osslsigncode 1.7.1 but couldn't find out which version of the binary is included for linux builds. Only that the one in this repo was updated ~2y ago and the one for darwin was updated more recently.

Adding support for it would be building the linux binary https://github.com/develar/osslsigncode and open a PR? Any hints?

Thanks.

How to update / upgrade NSIS

We have an issue where the installer is crashing sometimes (when the user directory contains spaces) before doing anything.
deltachat/deltachat-desktop#1269

I tried understanding the scripts but I currently don't have the time to find out how exactly everything works.

Can you describe what I need to do to make a build for or provide builds for:

  • the current nsis release (3.0.6.1 at the time of writing)
  • the current nsis master/nightly/next-release (3.0.7 at the time of writing)

I want to test if these new versions of NSIS can fix the issue.

Error: Bad CPU type in executable building Windows on MacOS Catalina

It appears that MacOS Catalina no longer supports any 32-bit compatible binaries. Attempting to build for the win32 platform on MacOS Catalina produces an error of the form:

• packaging       platform=win32 arch=x64 electron=5.0.1 appOutDir=dist/win-unpacked
  • downloading               parts=8 size=62 MB url=https://github.com/electron/electron/releases/download/v5.0.1/electron-v5.0.1-win32-x64.zip
  • downloaded                duration=4.605s url=https://github.com/electron/electron/releases/download/v5.0.1/electron-v5.0.1-win32-x64.zip
  • downloading               parts=1 size=5.6 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • downloaded                duration=1.121s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • downloading               parts=4 size=26 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/wine-2.0.3-mac-10.13/wine-2.0.3-mac-10.13.7z
  • downloaded                duration=2.325s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/wine-2.0.3-mac-10.13/wine-2.0.3-mac-10.13.7z
  ⨯ error: fork/exec /Users/erichs/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine: bad CPU type in executable

I'm not sure if this issue belongs here or in the Electron-Builder project, but felt it was worth reporting.

specify binary download path

I was behind some mask that can not download pre-compiled binaries directly. So, may i ask if it is possible to set a env variaable like electron-mirror to specify the download url. Or if there is any way can make it.

AppImage mksquashfs binary does not support LZO compression

The mksquashfs binary is too old (https://github.com/electron-userland/electron-builder-binaries/blob/master/AppImage/linux-x64/mksquashfs), it does not support lzo compression, please build it with LZO compression and publish a new version.

Background: I am trying to enable electron-builder to support LZO compression for snap packages electron-userland/electron-builder#6201 and I recently found that electron builder internally uses the mksquashfs binary from this repository. Below are the logs

om26er@RemotePC:~/scm/ubuntu/electron-quick-start$ node /home/om26er/scm/ubuntu/electron-builder/packages/electron-builder/cli.js -l snap
  • electron-builder  version=22.13.1 os=5.11.0-31-generic
  • loaded configuration  file=/home/om26er/scm/ubuntu/electron-quick-start/electron-builder.yml
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=11.4.12 appOutDir=dist/linux-unpacked
  • building        target=snap arch=x64 file=dist/electron-quick-start_1.0.0_amd64.snap
  • default Electron icon is used  reason=application icon is not set
  • application Linux category is set to default "Utility"  reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
  ⨯ cannot execute  cause=exit status 1
                    errorOut=/home/om26er/.cache/electron-builder/appimage/appimage-12.0.1/linux-x64/mksquashfs: Compressor "lzo" is not supported!
    /home/om26er/.cache/electron-builder/appimage/appimage-12.0.1/linux-x64/mksquashfs: Compressors available:
        gzip (default)
        xz

Build failiing for Windows on Mac M1

Electron-Builder Version: 23.6.0

Node Version: v14.21.3

Electron Version:21.2.0

Electron Type (current, beta, nightly):current

Target: nsis

• electron-builder version=23.6.0 os=22.3.0
• loaded configuration file=/Users/electron/electron-builder.json
• writing effective config file=release/1.3.43/builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=21.2.0 appOutDir=release/1.3.43/win-unpacked
⨯ cannot execute cause=exit status 1
⨯ cannot execute cause=exit status 1
errorOut=wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (2)
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:module:load_builtin_callback can't load mountmgr.sys
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\MountMgr": c0000142
0016:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0016:err:seh:setup_exception stack overflow 1200 bytes in thread 0016 eip e1413a8257e75f9c esp 0000000000241168 stack 0x240000-0x241000-0x340000
0012:err:seh:setup_exception stack overflow 1184 bytes in thread 0012 eip e1413a8257e75f9c esp 0000000000141178 stack 0x140000-0x141000-0x240000
000f:err:service:process_send_command service protocol error - failed to read pipe r = 0 count = 0!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:module:load_builtin_callback can't load winebus.sys
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\WineBus": c0000142
0020:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0020:err:seh:setup_exception stack overflow 1200 bytes in thread 0020 eip e15e5f9e57e75390 esp 0000000000241168 stack 0x240000-0x241000-0x340000
001e:err:seh:setup_exception stack overflow 1184 bytes in thread 001e eip e15e5f9e57e75390 esp 0000000000141178 stack 0x140000-0x141000-0x240000
000f:err:service:process_send_command service protocol error - failed to read pipe r = 0 count = 0!
000b:err:heap:HEAP_GetPtr Invalid heap 0x10000!
000b:err:module:load_builtin_callback can't load user32.dll
000b:err:seh:setup_exception stack overflow 1104 bytes in thread 000b eip 0000000068543ef8 esp 00000000001411c0 stack 0x140000-0x141000-0x240000
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
0009:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0009:err:module:load_builtin_callback can't load imm32.dll
0009:err:heap:HEAP_GetPtr Invalid heap 0x10000!
0009:err:seh:setup_exception stack overflow 1664 bytes in thread 0009 eip 0000000068540852 esp 0000000000130f90 stack 0x130000-0x131000-0x230000

                command=/Users/zhangyijun/Library/Caches/electron-builder/wine/wine-4.0.1-mac/bin/wine64 /Users/zhangyijun/Library/Caches/electron-builder/winCodeSign/winCodeSign-2.6.0/rcedit-x64.exe '/Users/zhangyijun/workCode/canpanv2/canpan-electron/release/1.3.43/win-unpacked/视觉收银门店管理软件.exe' --set-version-string FileDescription '视觉收银门店管理软件' --set-version-string ProductName '视觉收银门店管理软件' --set-version-string LegalCopyright 'Copyright © 2022' --set-file-version 1.3.43 --set-product-version 1.3.43.0 --set-version-string InternalName '视觉收银门店管理软件' --set-version-string OriginalFilename '' --set-icon /Users/zhangyijun/workCode/canpanv2/canpan-electron/icon.ico
                workingDir=

• Above command failed, retrying 1 more times

could i use electron-builder automatically instead of manually download the tool files~please help me to check this problem below

Error: spawn EPERM
    at exports._errnoException (util.js:1016:11)
    at ChildProcess.spawn (internal/child_process.js:317:11)
    at exports.spawn (child_process.js:491:9)
    at exports.execFile (child_process.js:208:15)
    at default (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@builder-util/src/util.ts:78:5)
    at Promise._execute (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/debuggability.js:303:9)
    at Promise._resolveFromExecutor (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:483:18)
    at new Promise (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:79:10)
    at exec (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@builder-util/src/util.ts:77:3)
    at wineExecutable.value.then.wine (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@builder-util/src/wine.ts:72:16)
    at tryCatcher (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:569:18)
From previous event:
    at Promise.longStackTracesCaptureStackTrace [as _captureStackTrace] (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/debuggability.js:400:19)
    at Promise._then (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:232:17)
    at Promise.then (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@bluebird/js/release/promise.js:125:17)
    at Object.args [as handler] (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@electron-builder/out/cli/cli.js:127:117)
    at Object.runCommand (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@yargs/lib/command.js:228:22)
    at Object.parseArgs [as _parseArgs] (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@yargs/yargs.js:1041:24)
    at Object.get [as argv] (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@yargs/yargs.js:957:21)
    at Object.<anonymous> (/Users/kevinaskin/Project/multiprizer/node_modules/[email protected]@electron-builder/out/cli/cli.js:123:441)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3
error Command failed with exit code 1.

when I manually put it ~/Library/Caches/electron-builder/... throw this error

Building Windows on Linux failing with wine error

I'm trying to build a Electron for Windows using Linux with Wine. Following the instructions here:
https://www.electron.build/multi-platform-build

When I run the command: electron-builder --windows it fails with the follow output:

  • downloading     path=/root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64 url=https://github.com/develar/app-builder/releases/download/v0.6.1/app-builder-v0.6.1-linux-x64.7z

  • downloading     path=/root/.cache/electron-builder/winCodeSign/winCodeSign-1.9.0 url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-1.9.0/winCodeSign-1.9.0.7z

Error: Exit code: null. Command failed: wine /root/.cache/electron-builder/winCodeSign/winCodeSign-1.9.0/rcedit.exe /codebuild/output/src740387401/src/github.com/owner/repo/dist/win-unpacked/APP.exe --set-version-string FileDescription APP --set-version-string ProductName APP --set-version-string LegalCopyright Copyright © 2018 Owner --set-file-version 0.0.0 --set-product-version 0.0.0.0 --set-version-string InternalName APP --set-version-string OriginalFilename  --set-version-string CompanyName Owner --set-icon /codebuild/output/src740387401/src/github.com/owner/repo/build/icon.ico
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)

I have the following in my package.json:

  "build": {
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ]
    }
}

I tried this with electron-build version 19.56.0 and 20.14.7 with the same result. I'm not sure why this is failing and I can't figure it out. Could someone point me in the right direction?

Fatal error: Unable to commit changes

Electron-builder Version: 22.9.1
OS: windows 10
Node: 12.14.0

C:\dev\lameta\node_modules\.bin\electron-builder --win --x64
  • electron-builder  version=22.9.1 os=10.0.18363
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=release\builder-effective-config.yaml
  • packaging       platform=win32 arch=x64 electron=10.1.0 appOutDir=release\win-unpacked
  ⨯ cannot execute  cause=exit status 1
                    errorOut=Fatal error: Unable to commit changes

                    command='C:\Users\hatto\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.6.0\rcedit-x64.exe' 'C:\dev\lameta\release\win-unpacked\lameta.exe' --set-version-string FileDescription lameta --set-version-string ProductName lameta --set-version-string LegalCopyright 'Copyright © 2020 lameta' --set-file-version 0.9.2 --set-product-version 0.9.2.0 --set-version-string InternalName lameta --set-version-string OriginalFilename '' --set-version-string CompanyName lameta --set-icon 'C:\dev\lameta\build\windows.ico'
                    workingDir=
  • Above command failed, retrying 3 more times

Based on a similar report here electron/packager#590, I excluded rcedit-x64.exe from Windows Defender. Also just turned off defender entirely. No improvement.

I'm not actually doing an code signing. Not using docker or anything else interesting. I've used electron-builder for years and but I haven't run it in a few weeks (may have upgraded some component) and it just started giving me this error.

Any ideas for troubleshooting this?

AppImage/armv7l `mksquashfs`?

my build failing with this error:

⨯ error: fork/exec /home/hibiya/.cache/electron-builder/appimage/appimage-9.1.0/linux-arm/mksquashfs: no such file or directory

how can I supply these binaries (for PR maybe)? will temporal symlink work?

cache/electron-builder/appimage/appimage-9.1.0/runtime-armv7l: no such file or directory

I'm building an electron on a Raspberry Pi. On my old Raspberry Pi 3 everything works fine, but now on my new Raspberry Pi 3 b+ it shows the following error:

open /home/pi/.cache/electron-builder/appimage/appimage-9.1.0/runtime-armv7l: no such file or directory

The appimage-9.1.0 directory is empty on the new Pi, while on my old Pi the directory contains the expected app images.

Shouldn't Electron Builder take care to download the images?

Don't put AppImages into archives

I've noticed that your AppImages are provided as .7z archives. You should not put AppImages into archives, as this prevents AppImages' "download, make executable, run" workflow. Also, type 2 AppImages are already compressed using either gzip or xz (LZMA), so they don't really need to be compressed any more. Rather change your build workflow to call appimagetool with --comp=xz, if you really need the additional compression. Although I think that for this tiny application, even gzip should suffice.

Furthermore, putting them into archives prevents the usage of AppImageUpdate, which I'd recommend you to provide to your users for easier updates. This is fairly easy to implement especially for GitHub releases, and if you were interested, the AppImage folks could assist.

[Security] Hijacking DLL problem

Current Squirrel.Windows version is 1.9.0. However this version still have vulnerable to DLL hijacking.
To checking:

  1. Build a Squirrel-based Electron app with windows-installer. I've tested this Electron app
  2. Open procmon
  3. In procmon add next rules: set path to the dir of ${App}Setup.exe (dir where the installer is stored), "Result" contains "NAME NOT FOUND", "Operation" contains "CreateFile"
    $.
  4. Open ${MyApp}Setup.exe
  5. Observe "urlmon.dll" gets required on location that doesn't require administrator permisson.

However, squirrel.window has fixed this problem and release version 1.9.1. (Squirrel/Squirrel.Windows#1444)

Note: I'm trying to build Squirrel.Windows and set enviroment variable to make electron-builder download this instead but it's not working cause electron-builder have checksum check :(

Package window installer failed on ubuntu 16

I cloned https://github.com/electron-react-boilerplate/electron-react-boilerplate on the ubuntu 16 and installed wine and mono as https://www.electron.build/multi-platform-build suggested. And finally it failed and the error

[1] yarn build-renderer exited with code 0
  • electron-builder version=20.38.4
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=release/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=4.0.0 appOutDir=release/win-unpacked
  • building        target=MSI arch=x64 file=release/ElectronReact 0.17.1.msi
  • building        target=nsis file=release/ElectronReact Setup 0.17.1.exe archs=x64 oneClick=true perMachine=false
  ⨯ error: exit status 255
path: /usr/bin/wine
args: wine Z:\home\admin\.cache\electron-builder\wix\wix-4.0.0.5512.2\candle.exe -arch x64 -dappDir=Z:\home\admin\electron-react-boilerplate\release\win-unpacked -pedantic -wx project.wxs
output:
error output:0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

github.com/develar/app-builder/pkg/util.Execute
	/Volumes/data/Documents/app-builder/pkg/util/util.go:74

Could you please tell me what should I do to fix this?

⨯ cannot resolve .../nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503

TL;DR: Trying to build all targets for electron prompts a request for a missing package.

⨯ cannot resolve https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503

quasar build -m electron --target all

 Build mode........ electron
 Quasar theme...... mat
 Quasar CLI........ v0.17.23
 Quasar Framework.. v0.17.19
 Debugging......... no

 app:quasar-conf Reading quasar.conf.js +0ms
 app:webpack Extending Renderer process Webpack config +1s
 app:webpack Extending Main process Webpack config +1ms
 app:artifacts Cleaned build artifact: "dist/electron-mat" +2ms
 app:generator Generating Webpack entry point +1ms
 app:build Building... +2ms

Version: webpack 4.25.1
Time: 8395ms
Built at: 01/31/2019 4:55:57 PM
           Asset      Size  Chunks             Chunk Names
electron-main.js  13.5 KiB       0  [emitted]  electron-main
    package.json  1.14 KiB          [emitted]  
Entrypoint electron-main = electron-main.js

 app:electron Bundling app with electron-builder... +2ms

  • electron-builder version=20.38.5
  • writing effective config file=dist/electron-mat/Packaged/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=linux arch=x64 electron=4.0.3 appOutDir=dist/electron-mat/Packaged/linux-unpacked
  • building        target=deb arch=x64 file=dist/electron-mat/Packaged/Verto_0.0.1_amd64.deb
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=4.0.3 appOutDir=dist/electron-mat/Packaged/win-unpacked
  • downloading               parts=8 size=61 MB url=https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-win32-x64.zip
  • downloaded                duration=16.153s url=https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-win32-x64.zip
  • downloading               parts=1 size=5.6 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • downloaded                duration=1.953s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • building        target=nsis file=dist/electron-mat/Packaged/Verto Setup 0.0.1.exe archs=x64 oneClick=true perMachine=false
  • downloading               parts=1 size=1.4 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.3.2/nsis-3.0.3.2.7z
  • downloaded                duration=1.088s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.3.2/nsis-3.0.3.2.7z
  ⨯ cannot resolve https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503
github.com/develar/app-builder/pkg/download.(*Downloader).follow
	/Volumes/data/Documents/app-builder/pkg/download/downloader.go:203
github.com/develar/app-builder/pkg/download.(*Downloader).Download
	/Volumes/data/Documents/app-builder/pkg/download/downloader.go:75
github.com/develar/app-builder/pkg/download.DownloadArtifact
	/Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:106
github.com/develar/app-builder/pkg/download.ConfigureArtifactCommand.func1
	/Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:26
github.com/alecthomas/kingpin.(*actionMixin).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
	/Volumes/data/go/pkg/mod/github.com/alecthomas/[email protected]+incompatible/app.go:222
main.main
	/Volumes/data/Documents/app-builder/main.go:78
runtime.main
	/usr/local/Cellar/go/1.11.4/libexec/src/runtime/proc.go:201
runtime.goexit
	/usr/local/Cellar/go/1.11.4/libexec/src/runtime/asm_amd64.s:1333


 app:electron ⚠️  [FAIL] electron-builder could not build +0ms

Error: node_modules/app-builder-bin/linux/x64/app-builder exited with code 1

(node:28988) UnhandledPromiseRejectionWarning: undefined
(node:28988) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:28988) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Should libnss3 be included?

Hi there.

I want to understand a bit why libnss3 isn't included into the binaries for appImage. I know libnss3 is a dependency for .deb packages but not for appImage.

Using the appImage on Ubuntu 14.04 and later, some users have the following error:

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

I guess this users are using a clean Ubuntu where libnss3 is not installed yet. I was able to reproduce the error using appimage-testsuite project.

Any knows a possible workaround to deal with this issue?

Nsis installer large files

I need the installer like 10gb.
NSIS has limit but NSISBI can break the limit.
can we use that or there is another way to have big installers.

Nowadays x64 systems has no limit something like 2gb.

$ electron-builder --x64
  • electron-builder  version=22.11.7 os=6.3.9600
  • loaded configuration  file=C:\edamla-bilgiatolyesi2\electron-builder.json
  • writing effective config  file=dist\builder-effective-config.yaml
  • packaging       platform=win32 arch=x64 electron=13.2.2 appOutDir=dist\win-unpacked
  • building        target=nsis file=dist\edamla-bilgiatolyesi2-Setup-Latest.exe archs=x64 oneClick=true perMachine=false
  ⨯ C:\Users\user\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\Bin\makensis.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Output:
Command line defined: "APP_ID=tr.com.e-damla.dbook3.bilgiatolyesi2"
Command line defined: "APP_GUID=d61b5a11-ae31-5801-97b9-2ae451cf676c"
Command line defined: "UNINSTALL_APP_KEY=d61b5a11-ae31-5801-97b9-2ae451cf676c"
Command line defined: "PRODUCT_NAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "PRODUCT_FILENAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "APP_FILENAME=edamla-bilgiatolyesi2"
Command line defined: "APP_DESCRIPTION=E-Damla Dijital Kitap"
Command line defined: "VERSION=2021.7.26"
Command line defined: "PROJECT_DIR=C:\edamla-bilgiatolyesi2"
Command line defined: "BUILD_RESOURCES_DIR=C:\edamla-bilgiatolyesi2\build"
Command line defined: "APP_PACKAGE_NAME=edamla-bilgiatolyesi2"
Command line defined: "MUI_ICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "MUI_UNICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "APP_64=C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-2021.7.26-x64.nsis.7z"
Command line defined: "APP_64_NAME=edamla-bilgiatolyesi2-2021.7.26-x64.nsis.7z"
Command line defined: "APP_64_HASH=12AD29A41F0410E9C6BF67B8FE590945229B7730A144EA76A9E19D4BB438ED34BECADFCEFD4ED909778882339C298A4E279692EB173A05979BD3D8F77C4399C5"
Command line defined: "COMPANY_NAME=Damla Yay�nevi"
Command line defined: "APP_PRODUCT_FILENAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "APP_INSTALLER_STORE_FILE=edamla-bilgiatolyesi2-updater\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "MENU_FILENAME=E-Damla"
Command line defined: "SHORTCUT_NAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "DELETE_APP_DATA_ON_UNINSTALL"
Command line defined: "UNINSTALL_DISPLAY_NAME=E-DamlaBilgiAt�lyesi2 2021.7.26"
Command line defined: "UNINSTALLER_ICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "HEADER_ICO=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "ESTIMATED_SIZE=5621423"
Command line defined: "COMPRESS=auto"
Command line defined: "UNINSTALLER_OUT_FILE=C:\edamla-bilgiatolyesi2\dist\__uninstaller-nsis-edamla-bilgiatolyesi2.exe"
Processing config: C:\Users\user\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\nsisconf.nsh
Processing script file: "<stdin>" (ACP)

Processed 1 file, 10 command line commands, writing output (x86-unicode):

Output: "C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-Setup-Latest.exe"
Output: "C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-Setup-Latest.nsisbin"
Install: 1 page (64 bytes), 1 section (2072 bytes), 835 instructions (30060 bytes), 1190 strings (9430 bytes), 1 language table (250 bytes).
Datablock optimizer saved 36583 bytes (~0.0%).

Using zlib compression.

EXE header size:              342016 / 40960 bytes
Install code:                   6484 / 42348 bytes
Install data:                   5178 / 5179 MiB

Error output:
Error: can't write 67108864 bytes to output
Error - aborting creation process
  failedTask=build stackTrace=Error: C:\Users\user\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\Bin\makensis.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Output:
Command line defined: "APP_ID=tr.com.e-damla.dbook3.bilgiatolyesi2"
Command line defined: "APP_GUID=d61b5a11-ae31-5801-97b9-2ae451cf676c"
Command line defined: "UNINSTALL_APP_KEY=d61b5a11-ae31-5801-97b9-2ae451cf676c"
Command line defined: "PRODUCT_NAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "PRODUCT_FILENAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "APP_FILENAME=edamla-bilgiatolyesi2"
Command line defined: "APP_DESCRIPTION=E-Damla Dijital Kitap"
Command line defined: "VERSION=2021.7.26"
Command line defined: "PROJECT_DIR=C:\edamla-bilgiatolyesi2"
Command line defined: "BUILD_RESOURCES_DIR=C:\edamla-bilgiatolyesi2\build"
Command line defined: "APP_PACKAGE_NAME=edamla-bilgiatolyesi2"
Command line defined: "MUI_ICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "MUI_UNICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "APP_64=C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-2021.7.26-x64.nsis.7z"
Command line defined: "APP_64_NAME=edamla-bilgiatolyesi2-2021.7.26-x64.nsis.7z"
Command line defined: "APP_64_HASH=12AD29A41F0410E9C6BF67B8FE590945229B7730A144EA76A9E19D4BB438ED34BECADFCEFD4ED909778882339C298A4E279692EB173A05979BD3D8F77C4399C5"
Command line defined: "COMPANY_NAME=Damla Yay�nevi"
Command line defined: "APP_PRODUCT_FILENAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "APP_INSTALLER_STORE_FILE=edamla-bilgiatolyesi2-updater\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "MENU_FILENAME=E-Damla"
Command line defined: "SHORTCUT_NAME=E-DamlaBilgiAt�lyesi2"
Command line defined: "DELETE_APP_DATA_ON_UNINSTALL"
Command line defined: "UNINSTALL_DISPLAY_NAME=E-DamlaBilgiAt�lyesi2 2021.7.26"
Command line defined: "UNINSTALLER_ICON=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "HEADER_ICO=C:\edamla-bilgiatolyesi2\assets\icons\installer.ico"
Command line defined: "ESTIMATED_SIZE=5621423"
Command line defined: "COMPRESS=auto"
Command line defined: "UNINSTALLER_OUT_FILE=C:\edamla-bilgiatolyesi2\dist\__uninstaller-nsis-edamla-bilgiatolyesi2.exe"
Processing config: C:\Users\user\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\nsisconf.nsh
Processing script file: "<stdin>" (ACP)

Processed 1 file, 10 command line commands, writing output (x86-unicode):

Output: "C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-Setup-Latest.exe"
Output: "C:\edamla-bilgiatolyesi2\dist\edamla-bilgiatolyesi2-Setup-Latest.nsisbin"
Install: 1 page (64 bytes), 1 section (2072 bytes), 835 instructions (30060 bytes), 1190 strings (9430 bytes), 1 language table (250 bytes).
Datablock optimizer saved 36583 bytes (~0.0%).


Using zlib compression.

EXE header size:              342016 / 40960 bytes
Install code:                   6484 / 42348 bytes
Install data:                   5178 / 5179 MiB

Error output:
Error: can't write 67108864 bytes to output
Error - aborting creation process


at ChildProcess.<anonymous> (C:\edamla-bilgiatolyesi2\node_modules\builder-util\src\util.ts:249:14)
    at Object.onceWrapper (events.js:482:26)
    at ChildProcess.emit (events.js:375:28)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

npm run electron:bulid pops up error

When I use npm run electron:bulid it pops up an error like this:
image

Get "https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.6.0/winCodeSign-2.6.0.7z": dial tcp 192.30.253.112:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I want to know why this error is reported. Is it my problem? Thanks.

Question - How to use this binaries

Hi,

Can I download this binary and use this to build my application without installing anything.
For example in my app package.json mention under script.

"pack" : electron-builder-binaries/nsis.sh
will above line convert my code to exe file.

I am not sure how to use this binary and cant find any documentation or wiki.
What is the exact use of this binaries.

Thanks
Jk

Ask for help, what's wrong with this report

dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Users/xxx/Library/Caches/electron-builder/nsis/nsis-3.0.4.1/mac/makensis (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib

at ChildProcess.<anonymous> (/Users/zhaoerpeng/workspace/lengli/electron-portal/node_modules/[email protected]@builder-util/src/util.ts:243:14)
at Object.onceWrapper (node:events:485:26)
at ChildProcess.emit (node:events:378:20)
at maybeClose (node:internal/child_process:1067:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {

exitCode: null,
alreadyLogged: false,
code: 'ERR_ELECTRON_BUILDER_CANNOT_EXECUTE'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.