kawarimidoll/gh-graph

failed to run extension

etos opened this issue · 4 comments

etos commented

installed without issues but sadly receiving the following error

[I] ⋊> ~ gh graph                                                                                                                                                                                                                                  23:18:18
failed to run extension: fork/exec /Users/dan/.local/share/gh/extensions/gh-graph/gh-graph: no such file or directory⏎

I can't reproduce.
That seems to be not an error of gh-graph, but an error of gh.

Is there the file?
What is returned by ls -ll /Users/dan/.local/share/gh/extensions/gh-graph/?

I think the installation is failed...

etos commented

Thanks for checking 👍

total 24
-rw-r--r--  1 dan  staff  1096  8 Sep 01:10 LICENSE
-rw-r--r--  1 dan  staff   949  8 Sep 01:10 README.md
-rwxr-xr-x  1 dan  staff  3205  8 Sep 01:10 gh-graph

There is the file, but no such file or directory occurs?
That is curious 🤔

Can you try some checks below?

1: run the script directly

/Users/dan/.local/share/gh/extensions/gh-graph/gh-graph

2: reinstall and run

gh extension remove gh-graph
gh extension install kawarimidoll/gh-graph
gh graph

3: run other extension

gh extension install mattn/gh-ost
gh ost

Maybe Bash is not installed on the system.
My system (FreeBSD 13.0) does not have bash and I reproduced this error.

% which bash
bash: Command not found.
% gh graph
failed to run extension: fork/exec /home/mkn/.local/share/gh/extensions/gh-graph/gh-graph: no such file or directory