Skip to content

[infra] Consider improving build failure error messages #13826

Description

@ericwindmill

Describe the problem

Currently, when I run dart run dash_site build and it fails the output looks like this:

$ dart run dash_site serve

Building package executable... 
Built dash_site:dash_site.
Running jaspr in static rendering mode.
✓ [CLI] Web compilers started. (3.5s)
✗ [CLI] [ERROR] Failed building web assets. There is probably more output above. (0.9s)
[CLI] [ERROR] Could not start dev server due to build errors.
Terminating web compilers...

This doesn't provide any help into where investigate.

Expected fix

The build error should provide more information, even if its high-level. For example, is there a problem did the scss compiler fail? Or is there an error in a Jaspr component? etc. Just that information would go a long way.

On which platform(s) did you experience this issue?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    infra.structureRelates to the tools that create docs.flutter.dev

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions