Package Details: github-desktop 3.3.12-1

Git Clone URL: https://aur.archlinux.org/github-desktop.git (read-only, click to copy)
Package Base: github-desktop
Description: GUI for managing Git and GitHub
Upstream URL: https://desktop.github.com
Keywords: git github
Licenses: MIT
Submitter: mikelpint
Maintainer: alerque (shiftkey)
Last Packager: alerque
Votes: 48
Popularity: 0.78
First Submitted: 2017-07-22 21:26 (UTC)
Last Updated: 2024-04-01 08:38 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

JustinSB commented on 2022-01-10 10:23 (UTC)

@hsantanna Thank you - Yes, downgrading my installed version of nodejs (17) to nodejs-lts-gallium (16) completely solved the issue & github-desktop then installed without issue.

slococo commented on 2022-01-09 13:10 (UTC)

Thanks to both of you! @alerque @hsantanna

Arraymancer commented on 2021-12-16 19:27 (UTC)

if you get the error:

detect-arm64-translation: Command failed.

just downgrade to nodejs-lts-gallium (16.X)

hsantanna commented on 2021-12-16 18:26 (UTC)

@alerque, @santilococo and @JustinSB Downgrading the installed nodejs (17) to nodejs-lts-gallium (16) solved the issue.

It seems to be a known issue with nodejs: https://github.com/nodejs/node-gyp/issues/2534

hsantanna commented on 2021-12-16 17:50 (UTC)

@alerque I couldn't build it in a clean chroot via makechrootpkg, got the same problem.

alerque commented on 2021-12-11 20:06 (UTC)

@santilococo and @JustinSB I cannot confirm the error you are seeing. Can you please check if you have the same problem building in a clean chroot via makechrootpkg? If the error is not happening there the next think to do is to figure out what is difference between a clean system and the one(s) you are trying to build on.

Also as an alternative this package is in my user repository so you can install it without having to build it.

JustinSB commented on 2021-12-01 13:13 (UTC)

I'm getting an identical build error to @santilococo What can we do about it?

slococo commented on 2021-12-01 12:30 (UTC) (edited on 2021-12-01 12:33 (UTC) by slococo)

Hi, Im getting this build error. Do you know what can I do? TY.

error /home/$(USER)/.cache/paru/clone/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: /home/$(USER)/.cache/paru/clone/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation
Output:
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using node-gyp@8.2.0
gyp info using node@17.1.0 | linux | x64
gyp info find Python using Python version 3.9.9 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/$(USER)/.cache/paru/clone/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/$(USER)/.cache/node-gyp/11.5.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/$(USER)/.cache/node-gyp/11.5.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/$(USER)/.cache/node-gyp/11.5.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/$(USER)/.cache/paru/clone/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]

gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.15.5-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/$(USER)/.cache/paru/clone/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation




error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'github-desktop-2.9.4-4':
error: packages failed to build: github-desktop-2.9.4-4

alerque commented on 2021-11-15 19:22 (UTC)

@Joshix Thanks for the dependency tip, I'll get that updated.

Joshix commented on 2021-11-09 20:11 (UTC)

pls depend on org.freedesktop.secrets instaed of gnome-keyring