After a fresh install of Heroku on Windows 7, I can't seem to authenticate from the command-line.
Running the command: heroku login
prompts me to enter my credentials. After doing so, I received an error:
heroku: Enter your login credentials
Email: my_email
Password: ************
Error: ENOENT: no such file or directory, open 'z:/_netrc'
I am using PowerShell, and when I run the command cat z:/_netrc
, I get this error:
cat : Cannot find drive. A drive with the name 'z' does not exist.
Z:
is a network drive, and it is accessible from the file explorer.
I already have a .netrc
file in my %HOME% path, but it does not contain the heroku login credentials.
Looking at the official documentation and CLI help, I couldn't find anything useful to fix this. How can I login to my heroku account?
> heroku version
heroku/7.16.6 win32-x64 node-v10.11.0