LoginSignup
1
0

More than 5 years have passed since last update.

herokuコマンドのサブコマンドが無くなってしまったら

Posted at

突然 heroku コマンドが使えなくなってしまった。どうやらサブコマンドが全然無くなってしまった様子に見える。

 $ heroku help
Refreshing plugins... !
 ▸    semver has no commands. Is this a CLI plugin?
Refreshing plugins... done
Refreshing plugins... !
 ▸    semver has no commands. Is this a CLI plugin?
Refreshing plugins... done
Usage: heroku COMMAND

Help topics, type heroku help TOPIC for more details:

 auth
 plugins  add/remove CLI plugins

あれやこれや試したけれどどうしてもうまく修正できず、結局クリーンアンインストールしてから再度インストールした。

自分の場合には、複数バージョンの heroku を全部アンインストールして、キャッシュなども消す。

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

そして改めてインストール

$ brew install heroku

ことなきを得た。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0