Skip to content
New issue

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

Builds fail on macOS 12.3 (Monterey) #220

Closed
3 tasks done
noe2505 opened this issue Mar 19, 2022 · 2 comments · Fixed by #227
Closed
3 tasks done

Builds fail on macOS 12.3 (Monterey) #220

noe2505 opened this issue Mar 19, 2022 · 2 comments · Fixed by #227
Labels
Milestone

Comments

@noe2505
Copy link

noe2505 commented Mar 19, 2022

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

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@timbru31
Copy link
Member

Crossref to the electron-builder issue: electron-userland/electron-builder#6606

@noe2505
Copy link
Author

noe2505 commented May 19, 2022

I guess it is true that Cordova is dead... two months on, zero action on this critical issue.

@erisu erisu added this to the 4.0.0 milestone May 21, 2022
@erisu erisu added the bug label May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants