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

[Tooling] genkit@0.9.0 cannot be used as a CLI #1295

Open
ipfans opened this issue Nov 14, 2024 · 4 comments
Open

[Tooling] genkit@0.9.0 cannot be used as a CLI #1295

ipfans opened this issue Nov 14, 2024 · 4 comments
Labels
bug Something isn't working tooling

Comments

@ipfans
Copy link

ipfans commented Nov 14, 2024

Describe the bug

By initializing the project with npx genkit, it can be successful executed in version 0.5.x, but it shows "could not determine executable to run" in the latest 0.9.0 version.

To Reproduce
Steps to reproduce the behavior:

npx genkit@latest init

But it works with:

npx genkit@0.5.17 init

Expected behavior

Show select a runtime initalize instruction.

Screenshots
Screenshot 2024-11-14 at 09 55 32

Desktop (please complete the following information):

  • OS: macOS

Additional context

None.

@ipfans ipfans added bug Something isn't working tooling labels Nov 14, 2024
@apascal07
Copy link
Collaborator

apascal07 commented Nov 14, 2024

Thanks for reporting this!

Two things here:

  1. There's no more genkit init.
  2. The CLI package is now called genkit-cli so the only way to make this work is to do npx genkit-cli <command>.

We'll update the docs.

@ipfans
Copy link
Author

ipfans commented Nov 14, 2024

@apascal07 Thank you for the update, but I found that the behavior of the cli has also changed, for example, the project no longer compiles automatically (I haven't tested the behavior of node, but it's like this for Go projects). This part of the operation also needs to be updated.

@lperezp
Copy link

lperezp commented Nov 18, 2024

Hi @apascal07! I tried using the npx genkit-cli init command and the genkit init and the list of commands appears but the project does not start.

image

@ipfans
Copy link
Author

ipfans commented Nov 18, 2024

@lperezp genkit-cli init is no longer available. The new CLI tool requires manual project initialization.

You can view the cli changes here: https://bit.ly/genkit-0-9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tooling
Projects
Status: No status
Development

No branches or pull requests

3 participants