Im trying to load a code I wrote onto Heroku but when i tried to do:
heroku git:remote -a [the name of the app on Heroku]
it said this:
Error: ENOENT: no such file or directory, open 'H:/_netrc'
edit:
I tried to do:
Heroku login
And it did the same error.
edit:
I saw someone suggesting to do
- cmd>set HomeDrive=c:/users/xxx
- run the heroku login
- when finished it will create _netrc in directory c:/users/xxx
But it didn't work for me.
on a side note, from what I read I suppose the _netrc file suppose to save your login information to Heroku? (Heroku username and password) on top of that , Heroku states that using the command : heroku login
will create the _netrc file if not existed yet, but for some reason Heroku doesnt create the file but perhaps only trying to update a missing file which causes the error