Skip to content

Instantly share code, notes, and snippets.

@jakubzitny
Last active January 26, 2017 17:50
Show Gist options
  • Save jakubzitny/ed319ea0070a0666bfcd7373abdbd49c to your computer and use it in GitHub Desktop.
Save jakubzitny/ed319ea0070a0666bfcd7373abdbd49c to your computer and use it in GitHub Desktop.
Using electron-builder.yml configuration file
Rebuilding native production dependencies for linux:x64
...
Packaging for linux x64 using electron 1.4.12 to release/linux-unpacked
electron-builder Found existing fpm /root/.cache/electron-builder/fpm/fpm-1.6.3-2.3.1 +440ms
electron-builder Executing icns2png -x -o /tmp/electron-builder-u0QLFI/0-2-linux.iconset /app/resources/mac/app.icns +3ms
libicns: icns_get_image_info_for_type: Unable to parse icon type 'ic11'
libicns: icns_get_image_info_for_type: Unable to parse icon type 'ic12'
libicns: icns_get_image_info_for_type: Unable to parse icon type 'ic13'
libicns: icns_get_image_info_for_type: Unable to parse icon type 'ic14'
libicns: icns_get_image_info_for_type: Unable to parse icon type 'name'
----------------------------------------------------
Reading icns family from /app/resources/mac/app.icns...
Extracting icons from /app.icns...
Saved 'ic08' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_256x256x32.png.
Saved 'ic09' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_512x512x32.png.
Saved 'ic10' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_1024x1024x32.png.
Saved 'il32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_32x32x32.png.
Saved 'is32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_16x16x32.png.
Saved 'it32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_128x128x32.png.
Extracted 6 images from /app.icns.
electron-builder ----------------------------------------------------
electron-builder Reading icns family from /app/resources/mac/app.icns...
electron-builder  Extracting icons from /app.icns...
electron-builder  Saved 'ic08' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_256x256x32.png.
electron-builder  Saved 'ic09' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_512x512x32.png.
electron-builder  Saved 'ic10' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_1024x1024x32.png.
electron-builder  Saved 'il32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_32x32x32.png.
electron-builder  Saved 'is32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_16x16x32.png.
electron-builder  Saved 'it32' element to /tmp/electron-builder-u0QLFI/0-2-linux.iconset/app_128x128x32.png.
electron-builder Extracted 6 images from /app.icns.
electron-builder  +197ms
electron-builder Executing gm convert -size 24x24 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 24x24 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_24x24x32.png +1ms
electron-builder Executing gm convert -size 96x96 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 96x96 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_96x96x32.png +14ms
electron-builder Executing gm convert -size 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_48x48x32.png +13ms
electron-builder Executing gm convert -size 64x64 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 64x64 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_64x64x32.png +12ms
Unhandled rejection Error: Exit code: 1. Command failed: gm convert -size 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_48x48x32.png
gm convert: Unable to open file (/tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png) [No such file or directory].

gm convert: Unable to open file (/tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png) [No such file or directory].

at /app/node_modules/electron-builder-util/src/util.ts:75:16
at ChildProcess.exithandler (child_process.js:213:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)
From previous event:
at exec (/app/node_modules/electron-builder-util/src/util.ts:53:3)
at resize (/app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:146:16)
at /app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:154:23
at next (native)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at LinuxTargetHelper.createFromIcns (/app/node_modules/electron-builder/out/targets/LinuxTargetHelper.js:186:11)
at /app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:28:25
From previous event:
at LinuxTargetHelper.computeDesktopIcons (/app/node_modules/electron-builder/out/targets/LinuxTargetHelper.js:58:11)
at new LinuxTargetHelper (/app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:16:23)
at getHelper (/app/node_modules/electron-builder/src/linuxPackager.ts:32:18)
at outDir (/app/node_modules/electron-builder/src/linuxPackager.ts:61:122)
at mapper (/app/node_modules/electron-builder/src/targets/targetFactory.ts:15:16)
at LinuxPackager.createTargets (/app/node_modules/electron-builder/src/linuxPackager.ts:61:7)
at createTargets (/app/node_modules/electron-builder/src/targets/targetFactory.ts:22:12)
at /app/node_modules/electron-builder/src/packager.ts:175:41
From previous event:
at Packager.doBuild (/app/node_modules/electron-builder/out/packager.js:299:11)
at /app/node_modules/electron-builder/src/packager.ts:143:38
at next (native)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at Packager.build (/app/node_modules/electron-builder/out/packager.js:251:11)
at /app/node_modules/electron-builder/src/builder.ts:214:40
at next (native)
From previous event:
at build (/app/node_modules/electron-builder/out/builder.js:63:21)
at Object.<anonymous> (/app/node_modules/electron-builder/out/cli/build-cli.js:68:41)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
electron-builder Spawning 7za x -bd /root/.electron/electron-v1.4.12-linux-x64.zip -o/app/release/linux-unpacked +4s
7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz (306F2),ASM,AES-NI)
Scanning the drive for archives:
1 file, 43342633 bytes (42 MiB)
Extracting archive: /root/.electron/electron-v1.4.12-linux-x64.zip
--
Path = /root/.electron/electron-v1.4.12-linux-x64.zip
Type = zip
Physical Size = 43342633
Everything is Ok
Files: 70
Size: 116672892
Compressed: 43342633
electron-builder 7za (7518) exited with code 0 +2s
...
Building deb
Error: Exit code: 1. Command failed: gm convert -size 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png -resize 48x48 /tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_48x48x32.png
gm convert: Unable to open file (/tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png) [No such file or directory].

gm convert: Unable to open file (/tmp/electron-builder-u0QLFI/0-2-linux.iconset/icon_256x256x32.png) [No such file or directory].

at /app/node_modules/electron-builder-util/src/util.ts:75:16
at ChildProcess.exithandler (child_process.js:213:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)
From previous event:
at exec (/app/node_modules/electron-builder-util/src/util.ts:53:3)
at resize (/app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:146:16)
at /app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:154:23
at next (native)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at LinuxTargetHelper.createFromIcns (/app/node_modules/electron-builder/out/targets/LinuxTargetHelper.js:186:11)
at /app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:28:25
From previous event:
at LinuxTargetHelper.computeDesktopIcons (/app/node_modules/electron-builder/out/targets/LinuxTargetHelper.js:58:11)
at new LinuxTargetHelper (/app/node_modules/electron-builder/src/targets/LinuxTargetHelper.ts:16:23)
at getHelper (/app/node_modules/electron-builder/src/linuxPackager.ts:32:18)
at outDir (/app/node_modules/electron-builder/src/linuxPackager.ts:61:122)
at mapper (/app/node_modules/electron-builder/src/targets/targetFactory.ts:15:16)
at LinuxPackager.createTargets (/app/node_modules/electron-builder/src/linuxPackager.ts:61:7)
at createTargets (/app/node_modules/electron-builder/src/targets/targetFactory.ts:22:12)
at /app/node_modules/electron-builder/src/packager.ts:175:41
From previous event:
at Packager.doBuild (/app/node_modules/electron-builder/out/packager.js:299:11)
at /app/node_modules/electron-builder/src/packager.ts:143:38
at next (native)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at Packager.build (/app/node_modules/electron-builder/out/packager.js:251:11)
at /app/node_modules/electron-builder/src/builder.ts:214:40
at next (native)
From previous event:
at build (/app/node_modules/electron-builder/out/builder.js:63:21)
at Object.<anonymous> (/app/node_modules/electron-builder/out/cli/build-cli.js:68:41)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment