lean-cli icon indicating copy to clipboard operation
lean-cli copied to clipboard

lean login: FileNotFoundError for \.lean\credentials

Open punitarani opened this issue 3 years ago • 1 comments

When running lean login after lean init, the credentials fail to be saved to the credentials file. Error: "FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\user\.lean\credentials'"

This can manually be fixed by creating the .lean folder and running lean login again.

punitarani avatar Mar 13 '22 19:03 punitarani

Thank you so much!! Apparently creating .lean and credentials also causes the command to fail.

akshaygulabrao avatar Jun 21 '22 18:06 akshaygulabrao