We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cordova Electron builds fail on macOS 12.3
Apple has removed support for python2, the version of electron-builder that is required by cordova-electron depends on python2 to work.
As follows, notice last line:
user@N0-2 myApp % cordova build electron • electron-builder version=22.14.13 os=21.4.0 • writing effective config file=platforms/electron/build/builder-effective-config.yaml • installing production dependencies platform=darwin arch=x64 appDir=/Users/user/Sites/myApp/platforms/electron/www • packaging platform=darwin arch=x64 electron=14.0.0 appOutDir=platforms/electron/build/mac • signing file=platforms/electron/build/mac/myApp.app identityName=Developer ID Application: Dev Name (DevID) identityHash=hash provisioningProfile=profile.profile • building target=DMG arch=x64 file=platforms/electron/build/myApp-0.1.7.dmg • building target=macOS zip arch=x64 file=platforms/electron/build/myApp-0.1.7-mac.zip • building block map blockMapFile=platforms/electron/build/myApp-0.1.7-mac.zip.blockmap Exit code: ENOENT. spawn /usr/bin/python ENOENT
cordova build electron should run without issue
Build process interrupted with:
Exit code: ENOENT. spawn /usr/bin/python ENOENT
cordova build electron
MacOS 12.3 Monterey (released on early 2022)
Cordova: 11.0.0 cordova-electron: 3.0.0
This error is not dependant on any plugins.
The text was updated successfully, but these errors were encountered:
Crossref to the electron-builder issue: electron-userland/electron-builder#6606
Sorry, something went wrong.
I guess it is true that Cordova is dead... two months on, zero action on this critical issue.
Successfully merging a pull request may close this issue.
Bug Report
Cordova Electron builds fail on macOS 12.3
Apple has removed support for python2, the version of electron-builder that is required by cordova-electron depends on python2 to work.
Problem
As follows, notice last line:
user@N0-2 myApp % cordova build electron
• electron-builder version=22.14.13 os=21.4.0
• writing effective config file=platforms/electron/build/builder-effective-config.yaml
• installing production dependencies platform=darwin arch=x64 appDir=/Users/user/Sites/myApp/platforms/electron/www
• packaging platform=darwin arch=x64 electron=14.0.0 appOutDir=platforms/electron/build/mac
• signing file=platforms/electron/build/mac/myApp.app identityName=Developer ID Application: Dev Name (DevID) identityHash=hash provisioningProfile=profile.profile
• building target=DMG arch=x64 file=platforms/electron/build/myApp-0.1.7.dmg
• building target=macOS zip arch=x64 file=platforms/electron/build/myApp-0.1.7-mac.zip
• building block map blockMapFile=platforms/electron/build/myApp-0.1.7-mac.zip.blockmap
Exit code: ENOENT. spawn /usr/bin/python ENOENT
What is expected to happen?
cordova build electron should run without issue
What does actually happen?
Build process interrupted with:
Exit code: ENOENT. spawn /usr/bin/python ENOENT
Information
Command or Code
cordova build electron
Environment, Platform, Device
MacOS 12.3 Monterey (released on early 2022)
Version information
Cordova: 11.0.0
cordova-electron: 3.0.0
This error is not dependant on any plugins.
Checklist
The text was updated successfully, but these errors were encountered: