-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
BugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
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 electron-builder@23.0.2
More details on this issue can be found at: electron-userland/electron-builder#6726
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency file