heroku / cli

Heroku CLI
https://devcenter.heroku.com/articles/heroku-cli
ISC License
852 stars 223 forks source link

Unclear error message when plugin install fails due to plugin not found #1268

Open edmorley opened 5 years ago

edmorley commented 5 years ago

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Attempting to installing a non-existent plugin fails without a clear error.

$ heroku plugins:install this-plugin-does-not-exist
Installing plugin this-plugin-does-not-exist... !
$

ie: The exclamation mark is easy to miss (I thought the command had succeeded), and the reason for the install failure is not specified.

What is the expected behavior?

Something like:

$ heroku plugins:install this-plugin-does-not-exist
Installing plugin this-plugin-does-not-exist... !
Error: Plugin this-plugin-does-not-exist not found! (Tried `@heroku-cli/this-plugin-does-not-exist`, ...)

This is using heroku/7.26.2 darwin-x64 node-v11.14.0

RasPhilCo commented 5 years ago

The yarn error is being swallowed. We likely need to surface it or at least show something more useful.

br4e commented 2 years ago
$ heroku plugins:install heroku-builds
Installing plugin heroku-builds... !
$

This is still an issue and still extremely frustrating @RasPhilCo