question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to build windows on macOS Catalina

See original GitHub issue

Fail 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:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
mazlano27commented, Oct 8, 2019

@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?

3reactions
mazlano27commented, Oct 10, 2019

@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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found