arches.io Heroku CLI error

23 Nov 2015

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.