Search code examples
herokuheroku-cli

The heroku cli fails


I run

heroku logs

and get

'ENOCOMMANDS': semver has no commands. Is this a CLI plugin?

Is there a problem with the current version of heroku? I have searched for both ENOCOMMANDS and semver with no useful results.


Solution

  • I had the same issue. I fixed it by uninstalling and then installing heroku like this...

    $brew uninstall --force heroku $rm -rf ~/.local/share/heroku ~/.config/heroku ~/Library/Caches/heroku

    $brew install heroku