Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to run extension #4

Open
etos opened this issue Sep 8, 2021 · 4 comments
Open

failed to run extension #4

etos opened this issue Sep 8, 2021 · 4 comments

Comments

@etos
Copy link

etos commented Sep 8, 2021

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⏎
@kawarimidoll
Copy link
Owner

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
Copy link
Author

etos commented Sep 9, 2021

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

@kawarimidoll
Copy link
Owner

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

@KusaReMKN
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants