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:
- Created 5 years ago
- Comments:13 (4 by maintainers)
Top GitHub Comments
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.
Upgrade electron-packager to 11.2.1, this bug was fixed yesterday in the 11.2 series for Electron Forge 5.