[Tooling] [email protected] cannot be used as a CLI
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 [email protected] init
Expected behavior
Show select a runtime initalize instruction.
Screenshots
Desktop (please complete the following information):
- OS: macOS
Additional context
None.
Thanks for reporting this!
Two things here:
- There's no more
genkit init. - The CLI package is now called
genkit-cliso the only way to make this work is to donpx genkit-cli <command>.
We'll update the docs.
@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.
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.
@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
Thanks you! I faced this problem too .
Hi, I'm confused. Could anybody give the steps to install and initialise genkit ui for the latest version?
@Aqshra Unfortunately, the official tutorial for the Go has never been updated, and you can only refer to the tutorial for the JS.
This is an instant dead end for the go tutorial:
from: https://firebase.google.com/docs/genkit-go/get-started-go#install