Created
October 11, 2017 22:56
-
-
Save todbot/40ff4be4a8c8690f921d6ca0470eeb50 to your computer and use it in GitHub Desktop.
Electron-builder appimage bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
todbot@vbubuntu:~/projects/tmp$ git clone https://github.com/todbot/electron-hid-toy | |
todbot@vbubuntu:~/projects/tmp$ cd electron-hid-toy | |
todbot@vbubuntu:~/projects/tmp/electron-hid-toy$ npm install | |
todbot@vbubuntu-blink1dev:~/projects/tmp/electron-hid-toy$ npm run build | |
> electron-hid-toy@0.1.5 build /home/todbot/projects/tmp/electron-hid-toy | |
> build | |
electron-builder 19.36.0 | |
Rebuilding native production dependencies for linux:x64 | |
Packaging for linux x64 using electron 1.7.9 to dist/linux-unpacked | |
Building tar.gz | |
Building AppImage for arch x64 | |
Error: tar exited with code 1 | |
Error output: | |
tar: ./pdf_viewer_resources.pak: file changed as we read it | |
at ChildProcess.childProcess.once.code (/home/todbot/projects/tmp/electron-hid-toy/node_modules/builder-util/src/util.ts:227:14) | |
at Object.onceWrapper (events.js:318:30) | |
at emitTwo (events.js:125:13) | |
at ChildProcess.emit (events.js:213:7) | |
at maybeClose (internal/child_process.js:927:16) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) | |
From previous event: | |
at spawn (/home/todbot/projects/tmp/electron-hid-toy/node_modules/builder-util/src/util.ts:190:3) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/targets/archive.ts:51:3 | |
at Generator.next (<anonymous>) | |
From previous event: | |
at tar (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/targets/archive.js:47:21) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/targets/ArchiveTarget.ts:24:13 | |
at Generator.next (<anonymous>) | |
From previous event: | |
at ArchiveTarget.build (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/targets/ArchiveTarget.js:60:11) | |
at taskManager.addTask.default.map.it (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/platformPackager.ts:119:85) | |
From previous event: | |
at LinuxPackager.packageInDistributableFormat (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/platformPackager.ts:119:41) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/platformPackager.ts:115:10 | |
From previous event: | |
at LinuxPackager.pack (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/platformPackager.js:184:11) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/packager.ts:260:24 | |
From previous event: | |
at Packager.doBuild (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/packager.js:344:11) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/packager.ts:186:52 | |
at Generator.next (<anonymous>) | |
From previous event: | |
at Packager.build (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/packager.js:263:11) | |
at /home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/builder.ts:283:40 | |
at Generator.next (<anonymous>) | |
at build (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/builder.js:63:21) | |
at loadEnv.then (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/src/cli/cli.ts:49:4) | |
From previous event: | |
at build (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/builder.js:63:21) | |
at loadEnv.then (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/cli/cli.js:155:79) | |
at runCallback (timers.js:781:20) | |
at tryOnImmediate (timers.js:743:5) | |
at processImmediate [as _immediateCallback] (timers.js:714:5) | |
From previous event: | |
at Object.args [as handler] (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/cli/cli.js:155:68) | |
at Object.runCommand (/home/todbot/projects/tmp/electron-hid-toy/node_modules/yargs/lib/command.js:226:22) | |
at Object.parseArgs [as _parseArgs] (/home/todbot/projects/tmp/electron-hid-toy/node_modules/yargs/yargs.js:998:24) | |
at Object.get [as argv] (/home/todbot/projects/tmp/electron-hid-toy/node_modules/yargs/yargs.js:912:21) | |
at Object.<anonymous> (/home/todbot/projects/tmp/electron-hid-toy/node_modules/electron-builder/out/cli/cli.js:151:418) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Function.Module.runMain (module.js:609:10) | |
at startup (bootstrap_node.js:158:16) | |
at bootstrap_node.js:578:3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 255 | |
npm ERR! electron-hid-toy@0.1.5 build: `build` | |
npm ERR! Exit status 255 | |
npm ERR! | |
npm ERR! Failed at the electron-hid-toy@0.1.5 build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/todbot/.npm/_logs/2017-10-11T22_49_35_866Z-debug.log | |
todbot@vbubuntu:~/projects/tmp/electron-hid-toy$ npm install --no-package-lock electron-builder@19.33.0 | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@2.1.1 (node_modules/7zip-bin-win): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-win@2.1.1: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@1.0.1 (node_modules/7zip-bin-mac): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
+ electron-builder@19.33.0 | |
added 116 packages, removed 10 packages and updated 7 packages in 14.797s | |
todbot@vbubuntu-blink1dev:~/projects/tmp/electron-hid-toy$ npm run build | |
> electron-hid-toy@0.1.5 build /home/todbot/projects/tmp/electron-hid-toy | |
> build | |
electron-builder 19.33.0 | |
Rebuilding native production dependencies for linux:x64 | |
Packaging for linux x64 using electron 1.7.9 to dist/linux-unpacked | |
Building tar.gz | |
Building AppImage for arch x64 | |
todbot@vbubuntu:~/projects/tmp/electron-hid-toy$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment