fmaclen / canutin-desktop

An open-source personal finance desktop app
https://canutin.com
Apache License 2.0
26 stars 5 forks source link

macOS build is failing #177

Closed fmaclen closed 1 year ago

fmaclen commented 1 year ago

https://github.com/Canutin/desktop/actions/runs/3950923225/jobs/6765902635

npm WARN config production Use `--omit=dev` instead.
  • electron-builder  version=22.10.3 os=21.6.0
  • artifacts will be published if draft release exists  reason=CI detected
  • loaded configuration  file=/Users/runner/work/desktop/desktop/electron-builder.yml
  • packaging       platform=darwin arch=x64 electron=22.0.0 appOutDir=dist/mac
  • downloading     url=https://github.com/electron/electron/releases/download/v22.0.0/electron-v22.0.0-darwin-x64.zip size=92 MB parts=6
  • downloaded      url=https://github.com/electron/electron/releases/download/v22.0.0/electron-v22.0.0-darwin-x64.zip duration=3.884s
  • skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, see https://electron.build/code-signing allIdentities=
                                                   0 identities found

                                                Valid identities only
                                                   0 valid identities found
  • building        target=DMG arch=x64 file=dist/canutin-desktop_v1.12.9-mac.dmg
  ⨯ Exit code: ENOENT. spawn /usr/bin/python ENOENT  stackTrace=
                                                       Error: Exit code: ENOENT. spawn /usr/bin/python ENOENT
                                                           at /Users/runner/work/desktop/desktop/node_modules/builder-util/src/util.ts:129:16
                                                           at exithandler (node:child_process:410:5)
                                                           at ChildProcess.errorhandler (node:child_process:422:5)
                                                           at ChildProcess.emit (node:events:513:28)
                                                           at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
                                                           at onErrorNT (node:internal/child_process:485:16)
                                                           at processTicksAndRejections (node:internal/process/task_queues:83:21)
child_process.js:674
    throw err;
    ^

Error: Command failed: npm run package:electron --if-present
    at checkExecSyncError (child_process.js:635:11)
    at execSync (child_process.js:671:15)
    at run (/Users/runner/work/_actions/samuelmeuli/action-electron-builder/v1.6.0/index.js:21:27)
    at runAction (/Users/runner/work/_actions/samuelmeuli/action-electron-builder/v1.6.0/index.js:117:4)
    at Object.<anonymous> (/Users/runner/work/_actions/samuelmeuli/action-electron-builder/v1.6.0/index.js:150:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: [40](https://github.com/Canutin/desktop/actions/runs/3950923225/jobs/6765902635#step:9:41)[55](https://github.com/Canutin/desktop/actions/runs/3950923225/jobs/6765902635#step:9:56),
  stdout: null,
  stderr: null
}