Fail to build windows on macOS Catalina
See original GitHub issueFail to build windows on macOS Catalina
npm run electron:build – --win
• writing effective config file=dist_electron/builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=6.0.8 appOutDir=dist_electron/win-unpacked
• default Electron icon is used reason=application icon is not set
• building target=nsis file=dist_electron/build_test Setup 0.1.0.exe archs=x64 oneClick=true perMachine=false
ERROR Error: Exit code: ENOENT. spawn prlctl ENOENT
Error: Exit code: ENOENT. spawn prlctl ENOENT
at /Users/zhouyang/coding/build_test/node_modules/builder-util/src/util.ts:125:16
at exithandler (child_process.js:297:5)
at ChildProcess.errorhandler (child_process.js:309:5)
at ChildProcess.emit (events.js:200:13)
at ChildProcess.EventEmitter.emit (domain.js:471:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:74:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! build_test@0.1.0 electron:build: `vue-cli-service electron:build "--win"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the build_test@0.1.0 electron:build 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! /Users/zhouyang/.npm/_logs/2019-09-11T03_05_16_087Z-debug.log
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
If Boot Camp Assistant says that your disk could not be ...
When attempting to create a Windows partition, Boot Camp Assistant might show the alert ”Your disk could not be partitioned. An error ......
Read more >How to Fix the "macOS Could Not Be Installed on Your ...
1. Restart Your Mac and Retry the Installation · 2. Set Your Mac to the Correct Date and Time · 3. Create Enough...
Read more >How to Fix macOS Catalina Installation Issues - MacSales.com
The two primary causes are; attempting to install on a Mac that Catalina doesn't support, or trying to install Catalina on a Mac...
Read more >Office Installation failed in macOS Catalina 10.15.6
I think the issue might be with the macOS Catalina, as they have change the app architecture which may be causing the file...
Read more >Install Windows 10 on your macOS computer using Boot ...
Pre-installation notes · Make sure your computer meets these requirements: · Obtain a USB flash drive (at least 16 GB). · During installation,...
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 Free
Top 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

@nklayman I just updated to Catalina and i’m facing this same issue. I did what you suggested but could not get it to work. @jie did you manage to resolve this issue?
@ukmarn I ended up building my app on a Windows pc. Based on what I found - this error is due to Catalina dropping support for 32 bit apps (like wine which was used to create the windows installers)