Skip to content

Ambiguous error messages #699

@givensuman

Description

@givensuman

I'm in the process of building an image and have noticed some of the error messages are ambiguous at best and misleading at worst.

I hope to add to this as I continue to explore this project. Unfortunately draft issues aren't a thing so right now it's a short list.

"Is a directory"

modules:
   - from-file: ../directory # this causes the error
ERROR => Failed:  
× Recipe ./recipes/recipe.yml failed to validate
     ╰─▶   × Is a directory (os error 21)

A line number or reference to the from-file key would be helpful.

Old ./config references

If I cd into ./recipes and run bluebuild build, I get:

WARN => Use of ./config for recipes is deprecated, please move your recipe files into ./recipes
ERROR => Failed:  
× File ./config/recipe.yml must exist

This is confusing because I am not using ./config per the warning, and the error is telling me to use ./config.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions