❯ cd Griphitor-IDE
❯ clear
❯ npm run pack
> [email protected] pack
> electron-builder --dir
• electron-builder version=22.13.1 os=21.1.0
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=darwin arch=arm64 electron=15.3.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, see https://electron.build/code-signing allIdentities= 0 identities found
Valid identities only
0 valid identities found
❯ npm run dist-mac
> [email protected] dist-mac
> electron-builder --prepackaged=dist/mac-unpacked
• electron-builder version=22.13.1 os=21.1.0
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• building target=macOS zip arch=arm64 file=dist/Griphitor Desktop-1.2.3-arm64-mac.zip
• building target=DMG arch=arm64 file=dist/Griphitor Desktop-1.2.3-arm64.dmg
• Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+
• Above command failed, retrying 5 more times
• Above command failed, retrying 4 more times
• Above command failed, retrying 3 more times
• Above command failed, retrying 2 more times
• Above command failed, retrying 1 more times
• Above command failed, retrying 0 more times
⨯ Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: Exit code: 1. Command failed: /Users/advik/Griphitor-IDE/node_modules/7zip-bin/mac/arm64/7za a -bd -mx=7 -mtc=off -mm=Deflate -mcu /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip mac-unpacked
WARNING: No more files
mac-unpacked
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)
Scanning the drive:
0 files, 0 bytes
Creating archive: /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip
Items to compress: 0
Files read from disk: 0
Archive size: 22 bytes (1 KiB)
Scan WARNINGS for files and folders:
mac-unpacked : No more files
----------------
Scan WARNINGS: 1
WARNING: No more files
mac-unpacked
at /Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:133:18
at ChildProcess.exithandler (node:child_process:404:5)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:390:28)
at Pipe.<anonymous> (node:net:687:12)
Error #2 --------------------------------------------------------------------------------
Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.<anonymous> (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:250:14)
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) failedTask=build stackTrace=Error: Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: Exit code: 1. Command failed: /Users/advik/Griphitor-IDE/node_modules/7zip-bin/mac/arm64/7za a -bd -mx=7 -mtc=off -mm=Deflate -mcu /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip mac-unpacked
WARNING: No more files
mac-unpacked
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)
Scanning the drive:
0 files, 0 bytes
Creating archive: /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip
Items to compress: 0
Files read from disk: 0
Archive size: 22 bytes (1 KiB)
Scan WARNINGS for files and folders:
mac-unpacked : No more files
----------------
Scan WARNINGS: 1
WARNING: No more files
mac-unpacked
at /Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:133:18
at ChildProcess.exithandler (node:child_process:404:5)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:390:28)
at Pipe.<anonymous> (node:net:687:12)
Error #2 --------------------------------------------------------------------------------
Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess.<anonymous> (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:250:14)
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
at throwError (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:88:11)
at checkErrors (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:53:9)
at AsyncTaskManager.awaitTasks (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:67:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Packager.doBuild (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:453:5)
at Object.executeFinally (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/promise.ts:12:14)
at Packager._build (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:376:31)
at Packager.build (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:337:12)
at Object.executeFinally (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/promise.ts:12:14)