heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 381 forks source link

Permission denied - git --version (Errno::EACCES) on Windows 10 #2010

Open antony7777 opened 7 years ago

antony7777 commented 7 years ago

Hi I'm trying to install Heroku CLI on windows 10. Got into this error when running heroku --version:

`'MySQL' is not recognized as an internal or external command, operable program or batch file.
'MySQL' is not recognized as an internal or external command, operable program or batch file.
!    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       Permission denied - git --version (Errno::EACCES)
    Command:     heroku --version
    Version:     heroku/toolbelt/3.43.9 (i386-mingw32) ruby/2.1.7
    Error ID:    18f250a4295d4be7a46bf9e088a8ce4a
    More information in C:/Users/antony/.heroku/error.log`

read about the MySQL, so I don't really mind/care abt it

It's the: ` Error: Permission denied - git --version (Errno::EACCES) that I'm asking about

Fyi, Git can be run using the same user. so I'm at lost here

rgds, Antony

jdx commented 7 years ago

usually this is because the PATH is invalid

ransombriggs commented 7 years ago

@antony7777 for more information see http://stackoverflow.com/a/34392342/255982