Building fails with: Error: Exit code: ENOENT. spawn prlctl ENOENT
See original GitHub issue- Version: 21.2.0
- Electron updater: 4.1.2
- Target: mac & win Electron 6.0.12 & Node 12.4.0
Trying to build for win and mac (on a mac with Catalina) manages to build some of the files but the fails here:
% electron-builder build --mac --win
• electron-builder version=21.2.0 os=19.0.0
• loaded configuration file=package.json ("build" field)
• writing effective config file=desktop-releases/builder-effective-config.yaml
• packaging platform=darwin arch=x64 electron=6.0.12 appOutDir=desktop-releases/mac
• signing file=desktop-releases/mac/App.app identityName=************
• building target=macOS zip arch=x64 file=desktop-releases/App-mac.zip
• building target=DMG arch=x64 file=desktop-releases/App-0.3.16.dmg
• packaging platform=win32 arch=x64 electron=6.0.12 appOutDir=desktop-releases/win-unpacked
• building target=nsis file=desktop-releases/App Setup 0.3.16.exe archs=x64 oneClick=true perMachine=false
• building block map blockMapFile=desktop-releases/App-0.3.16.dmg.blockmap
• building embedded block map file=desktop-releases/App-0.3.16-mac.zip
⨯ Exit code: ENOENT. spawn prlctl ENOENT stackTrace=
Error: Exit code: ENOENT. spawn prlctl ENOENT
at /Users/andreborud/.nvm/versions/node/v12.4.0/lib/node_modules/electron-builder/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 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:84:9)
is this a config error or something else?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:13
Top Results From Across the Web
Signing electron-builder generated package on windows fails ...
My build machine is Windows Server 2019 64 bit. ... Exit code: 1. Command failed: ... 237 stackTrace= 238 Error: Exit code: 1....
Read more >A Comprehensive Guide to Building and Packaging an ...
Building and Packaging an Electron App wasn't as straight forward as I had hoped. This guide aims to help you navigate the complexities...
Read more >Any Windows Target - electron-builder
Windows please install electron-builder-squirrel-windows dependency. icon = build/icon.ico String | “undefined” - The path to application icon.
Read more >Create Electron dmg file macOS Monterey 12.3.1 - AppStudio
2022-04-30 18:32:31,519 - IDEController - INFO - ⨯ Exit code: ENOENT. spawn /usr/bin/python ENOENT failedTask=build stackTrace=Error: Exit ...
Read more >Debugging "Make Failed with Exit Code 2" Error - CodeForGeek
We see lots of stack trace including the one shown below. gyp ERR! build error gyp ERR! stack Error: `make` failed with exit...
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
Try this: https://github.com/electron-userland/electron-builder/issues/4305#issuecomment-559138959
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.