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] firebase init genkit not working #180

Closed
jtmuller5 opened this issue May 16, 2024 · 3 comments
Closed

[Tooling] firebase init genkit not working #180

jtmuller5 opened this issue May 16, 2024 · 3 comments
Labels
bug Something isn't working tooling

Comments

@jtmuller5
Copy link

Describe the bug
I am following the Genkit with Firebase Cloud Functions tutorial and I'm getting the following error when running firebase init genkit:

genkit is not a supported feature; must be one of database, firestore, functions, hosting, hosting:github, storage, emulators, remoteconfig, extensions, frameworks.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new directory
  2. Run npm init -y
  3. Run genkit init
  4. Run firebase init genkit
  5. See error

Expected behavior
The tutorial should not suggest commands that are not supported.

@jtmuller5 jtmuller5 added bug Something isn't working tooling labels May 16, 2024
@jtmuller5
Copy link
Author

I was able to get it working. See my answer here.

@pavelgj
Copy link
Collaborator

pavelgj commented May 16, 2024

I posted the answer on stack overflow:

You have to upgrade the firebase-tools package to the latest version which is 13.9.0.

To check the current version run: firebase --version

Run: npm i -g firebase-tools to upgrade.

@jtmuller5
Copy link
Author

Thanks! I had an old version of firebase-tools that was stuck on v12 (I installed it with Bun about a year ago and then decided to not use Bun again 😅)

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
None yet
Development

No branches or pull requests

2 participants