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

Can't run the "Chat with a Local CLI" example: exit status 127 with error output: failed to run: ERROR: #912

Open
tianyuan-zhou opened this issue Nov 30, 2024 · 0 comments

Comments

@tianyuan-zhou
Copy link

Followed the steps https://docs.gptscript.ai/examples/cli

  1. Add the new file:

vi cli-demo.gpt

Then, input the contents listed in the doc.

  1. Then run:

gptscript cli-demo.gpt

It shows error in the output:

run encountered an error: ERROR: The following is the help text for the gh cli and some of its sub-commands. Use these when figuring out how to construct new commands. Note that the --search flag is used for filtering and sorting as well; there is no dedicated --sort flag.
: exit status 127 with error output: failed to run: ERROR: The following is the help text for the gh cli and some of its sub-commands. Use these when figuring out how to construct new commands. Note that the --search flag is used for filtering and sorting as well; there is no dedicated --sort flag.
: exit status 127

From the output, I can see the echo part already works, but I don't know what is the exit 127 means?

How can I fix this issue and run the "Chat with a Local CLI" example?

Thanks

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

1 participant