Skip to content

Improve flutter build web error message #164921

Description

@craiglabenz

Use case

For Flutter projects without a web folder, running $ flutter build web yields the following okay-ish error message:

$ flutter build web
Missing index.html.

Proposal

It would be better to suggest the developer should run $ flutter create . --platforms web to demystify the situation.

Metadata

Metadata

Assignees

Labels

c: proposalA detailed proposal for a change to Flutterr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions