Skip to content

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

@david-castaneda

Description

@david-castaneda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions