C:\Users\MainUser>heroku login
heroku: Press any key to open up the browser to login or q to exit:
Logging in... done
Error: EPERM: operation not permitted, open 'C:/WINDOWS/system32/config/systemprofile/_netrc'
latest heroku version installed
Only works if cmd is run as admin...
These are the env vars used to determine where to save the netrc file. You should set one (probably USERPROFILE) to a writeable space.
@RasPhilCo
Thank you for your reply: I really appreciate you linking me to the precise line!
in the mean time I've confirmed that the system variable HOME is set to %USERPROFILE%
then i did changed it to literally C:\Users\Omar
and it worked
then i changed it back to %USERPROFILE%
and it works now...!
No idea what was going on... but problem solved.
Glad to hear it!