Heroku CLI error

1 min read

I randomly started getting this heroku error today:

~$ heroku --version
ERROR: runtime error: invalid memory address or nil pointer dereference
 !    error getting commands pid 1923 exit 1

It was happening for every heroku command; heroku login, heroku releases, heroku run console, heroku logs.

Doing a full uninstall and reinstall of the heroku toolbelt fixed the problem for me.