Skip to content

krane login errors when command runs for the first time #5

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

Open
david-castaneda opened this issue May 2, 2021 · 0 comments
Open

krane login errors when command runs for the first time #5

david-castaneda opened this issue May 2, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@david-castaneda
Copy link
Member

When running krane login for the first time the CLI will error out with the following error

Error: ENOENT: no such file or directory, open '~/.krane/krane.config'
Code: ENOENT

On subsequent requests this command should work as the missing directory would have been created.

How to fix

  1. Always check if ~/.krane/krane.config exists, if it doesnt exists then create it.
@david-castaneda david-castaneda added the good first issue Good for newcomers label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant