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
- Always check if
~/.krane/krane.config exists, if it doesnt exists then create it.