Open dgrigonis1 opened 6 years ago
I was able to reproduce this issue using CentOS 7.3...
@dgrigonis1 Please check to see if you have some lines between the async task...
and the at /home/winnt...
lines. It would be where you used the second ellipsis ...
.
Do you see a line (the lines were in yellow) that looks similar to the warning/error that I saw? (warning/error listed below)
...
{:timestamp=>"2018-04-12T01:10:41.768671+0000", :message=>"tar (child): '/root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64/app-builder': Cannot exec: No such file or directory", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
{:timestamp=>"2018-04-12T01:10:41.768991+0000", :message=>"tar (child): Error is not recoverable: exiting now", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
...
Based on this error/warning I think this may be an issue with app-builder
, but it is hard to say.
@dgrigonis1 - What happens if you run npm run start
instead of npm run release
?
...
{:timestamp=>"2018-04-12T09:27:38.047991+0100", :message=>"Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag", :level=>:warn, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package/deb.rb", :line=>"820", :method=>"write_conffiles"}
{:timestamp=>"2018-04-12T09:27:38.254160+0100", :message=>"Creating", :path=>"/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/control.tar.gz", :from=>"/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/control", :level=>:info, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package/deb.rb", :line=>"728", :method=>"block in write_control_tarball"}
{:timestamp=>"2018-04-12T09:27:38.265825+0100", :message=>"Running command", :args=>["tar", "-C", "/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/control", "-zcf", "/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/control.tar.gz", "--owner=0", "--group=0", "--numeric-owner", "."], :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/util.rb", :line=>"145", :method=>"execmd"}
{:timestamp=>"2018-04-12T09:27:38.267482+0100", :message=>"Process is running", :pid=>1426, :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/util.rb", :line=>"163", :method=>"execmd"}
{:timestamp=>"2018-04-12T09:27:38.269699+0100", :message=>"Removing no longer needed control dir", :path=>"/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/control", :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package/deb.rb", :line=>"741", :method=>"write_control_tarball"}
{:timestamp=>"2018-04-12T09:27:38.270099+0100", :message=>"Running command", :args=>["tar", "-C", "/tmp/package-dir-staging-d6bd3b31abf5d1d7ee3e708fc02b1f248a1da03e0ef95ce137afe5417335", "-I'/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64/app-builder'", "--numeric-owner", "--owner", "0", "--numeric-owner", "--group", "0", "-cf", "/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/data.tar.xz", "."], :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/util.rb", :line=>"145", :method=>"execmd"}
{:timestamp=>"2018-04-12T09:27:38.271931+0100", :message=>"Process is running", :pid=>1430, :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/util.rb", :line=>"163", :method=>"execmd"}
{:timestamp=>"2018-04-12T09:27:38.273409+0100", :message=>"tar (child): '/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64/app-builder': Cannot exec: No such file or directory", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
{:timestamp=>"2018-04-12T09:27:38.273514+0100", :message=>"tar (child): Error is not recoverable: exiting now", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
{:timestamp=>"2018-04-12T09:27:38.273611+0100", :message=>"tar: /tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/data.tar.xz: Wrote only 4096 of 10240 bytes", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
{:timestamp=>"2018-04-12T09:27:38.273688+0100", :message=>"tar: Error is not recoverable: exiting now", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"}
{:timestamp=>"2018-04-12T09:27:38.273825+0100", :message=>"Process failed: tar failed (exit code 2). Full command was:[\"tar\", \"-C\", \"/tmp/package-dir-staging-d6bd3b31abf5d1d7ee3e708fc02b1f248a1da03e0ef95ce137afe5417335\", \"-I'/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64/app-builder'\", \"--numeric-owner\", \"--owner\", \"0\", \"--numeric-owner\", \"--group\", \"0\", \"-cf\", \"/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847/data.tar.xz\", \".\"]", :level=>:error, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/command.rb", :line=>"505", :method=>"rescue in execute"}
{:timestamp=>"2018-04-12T09:27:38.274527+0100", :message=>"Cleaning up staging path", :path=>"/tmp/package-dir-staging-d6bd3b31abf5d1d7ee3e708fc02b1f248a1da03e0ef95ce137afe5417335", :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package.rb", :line=>"284", :method=>"cleanup_staging"}
{:timestamp=>"2018-04-12T09:27:38.281490+0100", :message=>"Cleaning up build path", :path=>"/tmp/package-dir-build-df6c0e17ceb4dfd61a8375fa5c2753b91baad6e42b0eaf55d9d2bf8513d8", :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package.rb", :line=>"291", :method=>"cleanup_build"}
{:timestamp=>"2018-04-12T09:27:38.281630+0100", :message=>"Cleaning up build path", :path=>"/tmp/package-deb-build-467afb6ab9d6afbf8a0e8825b85d2d7b10981d037faba3987b044b897847", :level=>:debug, :file=>"/home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/lib/app/lib/fpm/package.rb", :line=>"291", :method=>"cleanup_build"}
Error: Exit code: 1. Command failed: /home/winnt/TIBRA/dominykas.grigonis/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir -t deb --architecture amd64 --name zazu --force --after-install /tmp/temp-dir-IWrXEQ/0-after-install --after-remove /tmp/temp-dir-IWrXEQ/1-after-remove --description
A cross platform productivity application. --version 0.5.2 --package /home/winnt/TIBRA/dominykas.grigonis/zazu/dist/zazu_0.5.2_amd64.deb --maintainer Tiny Taco Team <zazu-app@googlegroups.com> --url http://zazuapp.org --vendor Tiny Taco Team <zazu-app@googlegroups.com> --log debug --debug --deb-compression xz --depends gconf2 --depends gconf-service --depends libnotify4 --depends libappindicator1 --depends libxtst6 --depends libnss3 --depends libxss1 --license MIT /home/winnt/TIBRA/dominykas.grigonis/zazu/dist/linux-unpacked/=/opt/Zazu /home/winnt/TIBRA/dominykas.grigonis/zazu/resources/icons/512x512.png=/usr/share/icons/hicolor/512x512/apps/zazu.png /tmp/temp-dir-IWrXEQ/2-Zazu.desktop=/usr/share/applications/zazu.desktop
...
npm run start
results in frozen state:
$ sudo npm run start
> @0.5.2 start /home/winnt/TIBRA/dominykas.grigonis/zazu
> cross-env NODE_ENV=development electron ./app
npm WARN lifecycle The node binary used for scripts is /home/winnt/TIBRA/dominykas.grigonis/zazu/node_modules/.bin/electron but npm is using /home/winnt/TIBRA/dominykas.grigonis/zazu/node_modules/electron/dist/electron itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
npm WARN zazu-package-manager@1.0.0 No repository field.
npm WARN zazu-file-finder@1.0.0 No repository field.
npm WARN zazu-system@0.0.1 No license field.
[ ......] | postinstall: WARN zazu-system@0.0.1 No license field.
Guys, do you have any plans to release it on CentOS? I have spent last 4 hours trying to get any of the app launchers working and this was the closest. However, see below... Could you please help me out with this? Or maybe do a favour for all the poor people stuck with CentOS?
AND: