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.

Electron 4 app fails to build for macOS target with Packager 11.2.0

See original GitHub issue
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue: I am unable to build my app for mac (also on mac) on Travis CI. I get this error:

ENOENT: no such file or directory, open '/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/electron-packager/darwin-x64/MyRPC-darwin-x64/Electron.app/Contents/Frameworks/Electron Helper EH.app/Contents/Info.plist'
Error: ENOENT: no such file or directory, open '/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/electron-packager/darwin-x64/MyRPC-darwin-x64/Electron.app/Contents/Frameworks/Electron Helper EH.app/Contents/Info.plist

I am using electron forge, an my Travis build can be found at https://travis-ci.org/RailRunner166/MyRPC/jobs/474484348

Console output when you run electron-packager with the environment variable DEBUG=electron-packager. Please include the stack trace if one exists.

The console output would be the build output, I guess? https://travis-ci.org/RailRunner166/MyRPC/jobs/474484348

What command line arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the packager() function?

I’m not passing any more arguments than the ones that electron-forge does.

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to reproduce your problem. Using electron-quick-start is a good starting point.

My Code is built on Travis CI, maybe fork and test?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
n0wfalcommented, Jun 8, 2021

This still seems to be an issue with Electron v11.3.0 and Electron-packager version 15.2.0 I’ve checked the tmp folder and I couldn’t find an Electron Helper EH.app folder there was a Electron Helper.app folder inside it with a Contents folder and an info.plist file.

1reaction
maleptcommented, Jan 2, 2019

Upgrade electron-packager to 11.2.1, this bug was fixed yesterday in the 11.2 series for Electron Forge 5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron 4 app fails to build for macOS target with Packager ...
Electron 4 app fails to build for macOS target with Packager 11.2.0 #927 ... I am unable to build my app for mac...
Read more >
Any macOS Target - electron-builder
The top-level mac key contains set of options instructing electron-builder on how it should build macOS targets. These options applicable for any macOS...
Read more >
Electron-builder NPM
A complete solution to package and build a ready for distribution Electron app for macOS, Windows and Linux with “auto update” support out...
Read more >
I get "Failed to prepare device fo… | Apple Developer Forums
So I build, open the Build Folder (from the XCode Build menu), then drag the app file onto the phone by loading the...
Read more >
electron builder not allowed to load local resource - You.com
Most likely this error occurs because your path to the file is incorrect, ... I am working on an electron application and trying...
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