cli icon indicating copy to clipboard operation
cli copied to clipboard

"dashboard is not a heroku command" when running the command without arguments

Open come-maiz opened this issue 10 years ago • 12 comments

I'm testing the heroku cli from master in Ubuntu Xenial. When I run the heroku command with no arguments, I'm getting:

$ heroku
 ▸    dashboard is not a heroku command.
 ▸    Perhaps you meant whoami?
 ▸    Run heroku _ to run heroku whoami.
 ▸    Run heroku help for a list of available commands.

The reference to dashboard is wrong. Maybe the help command should be the default.

I can reproduce it also with:

$ ./bin/run 
Makefile:90: *** mixed implicit and normal rules: deprecated syntax
 ▸    dashboard is not a heroku command.
 ▸    Perhaps you meant whoami?
 ▸    Run heroku _ to run heroku whoami.
 ▸    Run heroku help for a list of available commands.

come-maiz avatar Aug 31 '16 04:08 come-maiz

did you find a solution for this?

dacianmujdar avatar Jun 02 '17 08:06 dacianmujdar

No matter what I type into the command line, I'm getting the same response. The happened suddenly and without apparent cause. See below.

heroku help
 ▸    commands is not a heroku command.
 ▸    Perhaps you meant domains
 ▸    Run heroku help for a list of available commands.
 !    error getting commands pid 24643 exit 127

MattDHill avatar Jun 02 '17 16:06 MattDHill

I'm seeing a similar error when running the console command.

➜ git:(master) heroku console
 ▸    commands is not a heroku command.
 ▸    Perhaps you meant domains
 ▸    Run heroku help for a list of available commands.
 !    error getting commands pid 93422 exit 127

This was working for me yesterday

blakerego avatar Jun 02 '17 16:06 blakerego

Exact same thing just started here.

brightball avatar Jun 02 '17 17:06 brightball

Same, was working up until an hour ago.

metaprogrammed avatar Jun 02 '17 18:06 metaprogrammed

We are seeing this too -- significantly affecting some of our engineers' ability to work with our heroku services. Haven't been able to figure anything out yet :/

jackphelps avatar Jun 02 '17 18:06 jackphelps

I've opened a support ticket with Heroku and gotten a response that they are looking into it. No word yet though.

brightball avatar Jun 02 '17 18:06 brightball

I started seeing this same issue right after the Heroku CLI update. Updating heroku with brew install heroku seemed to fix the issue.

alnoorp avatar Jun 02 '17 19:06 alnoorp

Not having any luck on Ubuntu. I tried uninstalling and reinstalling with the same results.

brightball avatar Jun 02 '17 20:06 brightball

Realized that engineers on our team with trouble here (we are all mac users) had the non-homebrew version of the heroku CLI installed. Removing that and installing with homebrew (brew install heroku) fixed the issue for them.

I'm guessing heroku inadvertently made a breaking change to the old heroku toolbelt version of the client, but who knows. Good luck y'all.

jackphelps avatar Jun 02 '17 20:06 jackphelps

looks like alnoorp edited his comment and beat me to it :)

jackphelps avatar Jun 02 '17 20:06 jackphelps

this is now resolved. If you're still having issues, reinstall from https://cli.heroku.com

jdx avatar Jun 02 '17 21:06 jdx