Windows build broken after switching from 22.10.5 to 22.11.3
See original GitHub issue- Version: 22.11.3
- Electron Version: v12.0.7
- Target: nsis , msi 32 and 64bits
The first notable thing is even that electron-builder --version output: 22.11.3 when the build process starts it displays version=22.10.5
It was working on 22.10.5 but doesn’t at the latest version.
electron-builder --win --ia32 --x64 --publish always
• electron-builder version=22.10.5 os=10.0.19043
• cannot check updates error=TypeError: update_notifier_1.default is not a function
• loaded configuration file=package.json ("build" field)
• loaded parent configuration file=D:\DEV\electron\master-updater\node_modules\electron-webpack\out\electron-builder.js
• writing effective config file=dist\builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=12.0.7 appOutDir=dist\win-unpacked
• server doesn't support ranges
the file called __uninstaller-nsis-app.exe
is missing
SignTool Error: File not found: D:\DEV\electron\dist\__uninstaller-nsis-app.exe
at D:\DEV\electron\node_modules\builder-util\src\util.ts:132:18
at ChildProcess.exithandler (child_process.js:326:5)
at ChildProcess.emit (events.js:376:20)
at maybeClose (internal/child_process.js:1055:16)
And after upload assets to github:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Innadril@1.1.4 release: `electron-builder --win --ia32 --x64 --publish always`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Innadril@1.1.4 release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2021-05-12T01_38_04_673Z-debug.log
debug.log:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'release'
1 verbose cli ]
2 info using npm@6.14.13
3 info using node@v14.17.0
4 verbose run-script [ 'prerelease', 'release', 'postrelease' ]
5 info lifecycle App@1.1.4~prerelease: App@1.1.4
6 info lifecycle App@1.1.4~release: App@1.1.4
7 verbose lifecycle App@1.1.4~release: unsafe-perm in lifecycle true
8 verbose lifecycle App@1.1.4~release: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\DEV\electron\node_modules\.bin;D:\DEV\electron\node_modules\.bin;C:\Python39\Scripts\;C:\Python39\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Google\Chrome\Application;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;%PATH%;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\DDS Utilities;C:\Program Files\java\jdk-14.0.1\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PhpStorm 2020.1.1\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1.1\bin;C:\ProgramData\npm;C:\Users\user\AppData\Roaming\npm;C:\Program Files\Git\bin;D:\PHP7;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7-preview\preview;C:\Program Files (x86)\NVIDIA Corporation\DDS Utilities;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Subversion\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\IncrediBuild;D:\DEV\desktop\vcpkg;C:\Program Files\CMake\bin;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\java\jdk-14.0.1\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PhpStorm 2020.2.3\bin;;D:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3\bin;;C:\ProgramData\npm;C:\Users\user\AppData\Roaming\npm;C:\Program Files\Git\bin;D:\PHP7;D:\Program Files (x86)\Nmap;D:\DEV\desktop\vcpkg;C:\Users\user\AppData\Local\Yarn\bin;C:\Program Files\java\jdk-14.0.1\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PhpStorm 2020.2.3\bin;;D:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3\bin;;C:\ProgramData\npm;C:\Program Files\Git\bin;D:\PHP7;D:\Program Files (x86)\Nmap;D:\DEV\desktop\vcpkg;C:\Users\user\AppData\Local\Yarn\bin;C:\Users\user\AppData\Roaming\npm
9 verbose lifecycle App@1.1.4~release: CWD: D:\DEV\electron
10 silly lifecycle App@1.1.4~release: Args: [ '/d /s /c', 'electron-builder --win --ia32 --x64 --publish always' ]
11 silly lifecycle App@1.1.4~release: Returned: code: 1 signal: null
12 info lifecycle App@1.1.4~release: Failed to exec release script
13 verbose stack Error: App@1.1.4 release: `electron-builder --win --ia32 --x64 --publish always`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:376:20)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:376:20)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid App@1.1.4
15 verbose cwd D:\DEV\electron
16 verbose Windows_NT 10.0.19043
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "release"
18 verbose node v14.17.0
19 verbose npm v6.14.13
20 error code ELIFECYCLE
21 error errno 1
22 error App@1.1.4 release: `electron-builder --win --ia32 --x64 --publish always`
22 error Exit status 1
23 error Failed at the App@1.1.4 release script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:16 (1 by maintainers)
Top Results From Across the Web
September 13, 2022—KB5017328 (OS Build 22000.978)
Running Windows Update Standalone Installer (wusa.exe) with the /uninstall switch on the combined package will not work because the combined ...
Read more >October 11, 2022—KB5018427 (OS Build 22621.674)
Known issues in this update · Select the Windows logo key, type "Date and time", and select Date and time settings. · Go...
Read more >Resolved issues in Windows 10, version 20H2
After installing updates released November 2022, you might have Kerberos authentication issues. OS Build 19042.2251. KB5019959 2022-11-08, Resolved, 2022-11-18
Read more >November 8, 2022—KB5019980 (OS Build 22621.819)
After installing updates released on November 8, 2022 or later on Windows ... and Kerberos starting with November 2022 security update.
Read more >Emmet County Zoning Ordinance
The purpose of this Ordinance is to provide for the regulation of land development and the establishment of districts within Emmet County which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Lyrei-cm You can release your app with 22.10.5, which works fine. 24h response within the area of Open Source is a bit demanding.
I can confirm that Electron builder also has stopped building other operating system’s assets as well in 22.11.3. After installing I get this output:
And when trying to build something (in my case it was a macOS ARM DMG build):
Additionally, I can confirm 22.10.5 worked fine.
Platform: macOS 11.3 (ARM arch)