Electron builder failing on dmg
See original GitHub issue- Version: ^20.38.5
- Electron Version:^4.0.6
- Electron Type (current, beta, nightly):current
^4.3.5
- Target: dmg
I was told to try and ask here but ive been at a loss and keep getting this error with no hope of fixing it.
There is
`Error: Exit code: 2. Command failed: /usr/bin/perl /private/tmp/t-fuQapm/1-dmgProperties.pl
Can’t locate Mac/Finder/DSStore.pm in @INC (you may need to install the Mac::Finder::DSStore module) (@INC contains: /Library/Perl/5.28/darwin-thread-multi-2level /Library/Perl/5.28 /Network/Library/Perl/5.28/darwin-thread-multi-2level /Network/Library/Perl/5.28 /Library/Perl/Updates/5.28.2 /System/Library/Perl/5.28/darwin-thread-multi-2level /System/Library/Perl/5.28 /System/Library/Perl/Extras/5.28/darwin-thread-multi-2level /System/Library/Perl/Extras/5.28) at /private/tmp/t-fuQapm/1-dmgProperties.pl line 3.
BEGIN failed–compilation aborted at /private/tmp/t-fuQapm/1-dmgProperties.pl line 3.
Can’t locate Mac/Finder/DSStore.pm in @INC (you may need to install the Mac::Finder::DSStore module) (@INC contains: /Library/Perl/5.28/darwin-thread-multi-2level /Library/Perl/5.28 /Network/Library/Perl/5.28/darwin-thread-multi-2level /Network/Library/Perl/5.28 /Library/Perl/Updates/5.28.2 /System/Library/Perl/5.28/darwin-thread-multi-2level /System/Library/Perl/5.28 /System/Library/Perl/Extras/5.28/darwin-thread-multi-2level /System/Library/Perl/Extras/5.28) at /private/tmp/t-fuQapm/1-dmgProperties.pl line 3. BEGIN failed–compilation aborted at /private/tmp/t-fuQapm/1-dmgProperties.pl line 3.
at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/builder-util/src/util.ts:126:16
at ChildProcess.exithandler (child_process.js:315:5)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Socket.<anonymous> (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:673:12)
From previous event: at _applyProperties (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmgUtil.js:179:27) at applyProperties (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmgUtil.js:166:27) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/src/dmg.ts:307:9 From previous event: at _customizeDmg (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmg.js:458:24) at customizeDmg (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmg.js:402:24) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/src/dmg.ts:48:54 at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/src/dmgUtil.ts:37:31 From previous event: at _attachAndExecute (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmgUtil.js:120:28) at attachAndExecute (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/out/dmgUtil.js:97:28) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/src/dmg.ts:48:16 at Generator.next (<anonymous>) From previous event: at DmgTarget.build (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/dmg-builder/src/dmg.ts:21:42) at Function.buildAsyncTargets (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/platformPackager.ts:140:36) at MacPackager.packageInDistributableFormat (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/platformPackager.ts:119:24) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/macPackager.ts:91:26 at processImmediate (internal/timers.js:461:21) From previous event: at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/macPackager.ts:91:10 at Generator.next (<anonymous>) From previous event: at MacPackager.pack (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/macPackager.ts:82:95) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:430:24 at Generator.next (<anonymous>) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/fs-extra-p/node_modules/fs-extra/lib/mkdirs/mkdirs.js:56:16 at callback (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/graceful-fs/polyfills.js:295:20) at FSReqCallback.oncomplete (fs.js:184:5) From previous event: at Packager.doBuild (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:396:24) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:366:57 at Generator.next (<anonymous>) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/graceful-fs/graceful-fs.js:144:16 at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/graceful-fs/graceful-fs.js:61:14 at FSReqCallback.oncomplete (fs.js:171:23) From previous event: at Packager._build (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:335:133) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:331:23 at Generator.next (<anonymous>) at processImmediate (internal/timers.js:461:21) From previous event: at Packager.build (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/packager.ts:288:14) at build (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/app-builder-lib/src/index.ts:59:28) at build (/Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/electron-builder/src/builder.ts:228:10) at /Users/caimartin/Desktop/Syqel/radio-desktop/node_modules/electron-builder/src/cli/cli.ts:49:19`
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top GitHub Comments
Hi @mmaietta - curious if you had an updated ETA on this?
@develar Hey i dont see the new update yet on github is it updated on npm?