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

Can't build on macOS 12.3 (electron-builder errors) #245

Closed
saltyshiomix opened this issue Mar 18, 2022 · 1 comment · Fixed by #246
Closed

Can't build on macOS 12.3 (electron-builder errors) #245

saltyshiomix opened this issue Mar 18, 2022 · 1 comment · Fixed by #246
Assignees
Labels
examples Resolve by adding examples

Comments

@saltyshiomix
Copy link
Owner

[nextron] Packaging - please wait a moment
  • electron-builder  version=22.14.13 os=21.4.0
  • loaded configuration  file=/Users/salty/Documents/src/nextron/workspace/electron-builder.yml
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=darwin arch=arm64 electron=16.1.0 appOutDir=dist/mac-arm64
  • skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, it could cause some undefined behaviour, e.g. macOS localized description not visible, see https://electron.build/code-signing allIdentities=     0 identities found
                                                Valid identities only
     0 valid identities found
  • building        target=macOS zip arch=arm64 file=dist/My Nextron App-1.0.0-arm64-mac.zip
  • building        target=DMG arch=arm64 file=dist/My Nextron App-1.0.0-arm64.dmg
  • Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+
  • building block map  blockMapFile=dist/My Nextron App-1.0.0-arm64-mac.zip.blockmap
  ⨯ Exit code: ENOENT. spawn /usr/bin/python ENOENT  failedTask=build stackTrace=Error: Exit code: ENOENT. spawn /usr/bin/python ENOENT
    at /Users/salty/Documents/src/nextron/workspace/node_modules/builder-util/src/util.ts:133:18
    at exithandler (node:child_process:404:5)
    at ChildProcess.errorhandler (node:child_process:416:5)
    at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)


Cannot build electron packages:
Error: Command failed with exit code 1: electron-builder
@saltyshiomix saltyshiomix added the examples Resolve by adding examples label Mar 18, 2022
@saltyshiomix saltyshiomix self-assigned this Mar 18, 2022
@saltyshiomix
Copy link
Owner Author

Solution is here:

electron-userland/electron-builder#6606

@saltyshiomix saltyshiomix changed the title Can't build when Node.js v16 (electron-builder errors) Can't build on macOS 12.3 (electron-builder errors) Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Resolve by adding examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant