gh-label icon indicating copy to clipboard operation
gh-label copied to clipboard

`gh label list` Fails Within Repository

Open Jordan-Dennis opened this issue 2 years ago • 2 comments

Hi @heaths, I've recently downloaded your extension and when I tried to list the labels I received the following error,

error: cannot find gh; is it installed? error: exec: "gh": executable file not found in $PATH

However, I am able to use gh normally and gh label --help works. Here is my path which contains gh twice (exported again to try and pix this issue)

/usr/bin/latexmk:/snap/bin/gh:/usr/bin/latexmk:/home/jordan/anaconda3/bin:/home/jordan/anaconda3/condabin:/home/jordan/.opam/default/bin:/home/jordan/.cargo/bin:/home/jordan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:~/Documents/flutter/bin:~/Documents/flutter/bin:/snap/bin/gh

Regards Jordam

Jordan-Dennis avatar Jan 16 '23 22:01 Jordan-Dennis

How did you download it? Did you run gh extension install heaths/gh-label? That's the only method supported for downloading gh extensions.

Note, however, this really isn't needed anymore. There's a built-in gh label and I added what functionality this did have it didn't to the built-in gh label several versions ago.

heaths avatar Jan 16 '23 23:01 heaths

Yes I did use gh extension install heaths/gh-label. I expect my gh is out of date is all. I'll try updating it. :+1:

Jordan-Dennis avatar Jan 16 '23 23:01 Jordan-Dennis