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

Apple Mac OS X build broken #69

Open
ahzf opened this issue Mar 30, 2022 · 0 comments
Open

Apple Mac OS X build broken #69

ahzf opened this issue Mar 30, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@ahzf
Copy link
Member

ahzf commented Mar 30, 2022

When you encounter build errors like the following...

ahzf@ahzfPro ChargyDesktopApp % ./build.sh 
asset chargyApp-bundle.js 6.75 MiB [compared for emit] (name: main)
runtime modules 2.15 KiB 6 modules
modules by path ./node_modules/ 1.75 MiB
  javascript modules 1.75 MiB 277 modules
  json modules 1.69 KiB
    ./node_modules/elliptic/package.json 1.11 KiB [built] [code generated]
    ./node_modules/seek-bzip/package.json 597 bytes [built] [code generated]
modules by path ./src/ts/*.ts 562 KiB
  ./src/ts/chargyApp.ts 104 KiB [built] [code generated]
  ./src/ts/chargy.ts 44.9 KiB [built] [code generated]
  ./src/ts/chargyLib.ts 18.8 KiB [built] [code generated]
  ./src/ts/chargyInterfaces.ts 6.14 KiB [built] [code generated]
  ./src/ts/Alfen01.ts 46.7 KiB [built] [code generated]
  ./src/ts/BSMCrypt01.ts 96.9 KiB [built] [code generated]
  + 10 modules
+ 20 modules
webpack 5.70.0 compiled successfully in 2094 ms
  • electron-builder  version=22.14.13 os=21.4.0
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=darwin arch=arm64 electron=17.2.0 appOutDir=dist/mac-arm64
  • signing         file=dist/mac-arm64/Chargy Transparenzsoftware Eneco Edition.app identityName=Apple Development: Achim Friedland (SM65GSM52P) identityHash=3EC90E5107F316F7AD3554F3F59C734417E752B8 provisioningProfile=none
  • building        target=macOS zip arch=arm64 file=dist/Chargy Transparenzsoftware Eneco Edition-1.4.0-arm64-mac.zip
  • building        target=DMG arch=arm64 file=dist/Chargy Transparenzsoftware Eneco Edition-1.4.0-arm64.dmg
  • Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+
  • building block map  blockMapFile=dist/Chargy Transparenzsoftware Eneco Edition-1.4.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 /opt/homebrew/lib/node_modules/electron-builder/node_modules/builder-util/src/util.ts:133:18
    at exithandler (node:child_process:406:5)
    at ChildProcess.errorhandler (node:child_process:418:5)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

...just update the Electron Builder npm package to the following pre-release:
npm install [email protected]

More details on this issue can be found at: electron-userland/electron-builder#6726

@ahzf ahzf self-assigned this Mar 30, 2022
@ahzf ahzf added Bug Something isn't working dependencies Pull requests that update a dependency file labels Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant