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.

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:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:13

github_iconTop GitHub Comments

0reactions
stale[bot]commented, Jan 28, 2020

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.

Read more comments on GitHub >

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

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