noe2505 opened a new issue #220:
URL: https://github.com/apache/cordova-electron/issues/220


   # 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
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   cordova build electron
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   MacOS 12.3 Monterey (released on early 2022)
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Cordova: 11.0.0
   cordova-electron: 3.0.0
   
   This error is not dependant on any plugins.
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to