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

[FR] improve genkit init #182

Closed
hemanth opened this issue May 16, 2024 · 3 comments · Fixed by #239
Closed

[FR] improve genkit init #182

hemanth opened this issue May 16, 2024 · 3 comments · Fixed by #239
Assignees
Labels
enhancement New feature or request

Comments

@hemanth
Copy link

hemanth commented May 16, 2024

~/labs/genkit-chat 
❯ genkit init 
Error: The runtime could not be detected or is not supported. Supported runtimes: node

genkit init at bare minimum should do an npm init if package.json isn't present.

More better if:

~/labs/genkit-chat 
❯ genkit init 
? App name
 genkit-demo # mkdir and cd
? Select the deployment platform: 
  Firebase 
? Select the deployment platform: Node.js
? Select the model provider: 
❯ Google AI 
? Select the model provider: Google AI
@hemanth hemanth added the enhancement New feature or request label May 16, 2024
@i2amsam i2amsam assigned i2amsam and apascal07 and unassigned i2amsam May 20, 2024
@i2amsam
Copy link
Contributor

i2amsam commented May 23, 2024

Adding a +1 to this, another user reported this same bug

@hemanth
Copy link
Author

hemanth commented May 25, 2024

@apascal07 still seeing the same:

/tmp/foo 
❯ node --version
v20.5.1

/tmp/foo 
❯ genkit --version
0.5.1

/tmp/foo 
❯ genkit init
Error: The runtime could not be detected or is not supported. Supported runtimes: node

/tmp/foo 
❯ ls

@apascal07
Copy link
Collaborator

The change will appear in the next release. Thanks for your patience!

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

Successfully merging a pull request may close this issue.

3 participants