#Not a directory Error when executing Heroku commands
heroku
▸ stat /Users/xxx/.local/share/heroku/client/bin/heroku: not a directory
▸ fork/exec /Users/xxx/.local/share/heroku/client/bin/heroku: not a directory
#Solution is to remove previous directory
rm -rf ~/.local/share/heroku/client