getporter / porter

Porter enables you to package your application artifact, client tools, configuration and deployment logic together as an installer that you can distribute, and install with a single command.
https://porter.sh
Apache License 2.0
1.2k stars 199 forks source link

Running Lint or Build with a missing mixin produces a vague error #3140

Closed dgannon991 closed 1 month ago

dgannon991 commented 1 month ago

Describe the bug

If you attempt to use a mixin that isn't installed on your system, the error message doesn't help you to the solution.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new porter.yaml file
  2. Add a new mixin that isn't on your system yet (I used az)
  3. Run porter lint or porter build

Expected behavior

A helpful error message explains that the mixin is missing and how to go about installing it.

Porter Command and Output

$ porter lint
lint command failed for mixin az: 
lint command failed for mixin az:

Version

Copy the output of porter version below porter v0.0.0 (f34f5d21)