Skip to content

Confusing output from flutter tool when I run "flutter build web lib/a.dart" #136830

Closed

Description

@johnmccutchan

It says that it is compiling "lib/main.dart"

@eyebrowsoffire says this is because there is a "lib/main.dart" wrapper that is compiled

Activity

  1. eyebrowsoffire commented on Oct 18, 2023

    @eyebrowsoffire
    Contributor

    The output is coming from the compiler, that doesn't know that it's compiling the lib/main.dart wrapper that is generated by the flutter tool. I don't know how useful it is to have the output tell you the name of the file at all to be honest. This does just make things confusing to the end user.

  2. johnmccutchan commented on Oct 18, 2023

    @johnmccutchan
    ContributorAuthor

    Given the output from the tool, I don't trust it is doing the correct thing. The thing I explicitly asked it to do.

  3. darshankawar commented on Oct 19, 2023

    @darshankawar
    Member

    Seeing as below in the console:

    Changed 7 dependencies!
    4 packages have newer versions incompatible with dependency constraints.
    Try `flutter pub outdated` for more information.
     
    Compiling lib/main.dart for the Web...            
    

    Keeping it open and labeling for tracking.

  4. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-webWeb applications specifically
    a: buildBuilding flutter applications with the tool
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    team-toolOwned by Flutter Tool team
    and removed
    in triagePresently being triaged by the triage team
    on Oct 19, 2023
  5. flutter-triage-bot commented on Feb 22, 2024

    @flutter-triage-bot

    This issue is assigned to @eyebrowsoffire but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

  6. added
    ⏳Bot is counting down the days until it unassigns the issue
    on Feb 22, 2024
  7. removed their assignment
    on Feb 26, 2024
  8. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on Feb 26, 2024
  9. added
    P2Important issues not at the top of the work list
    triaged-toolTriaged by Flutter Tool team
    on Mar 31, 2025
  10. added
    r: fixedIssue is closed as already fixed in a newer version
    on Apr 1, 2025
  11. github-actions commented on Apr 15, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: buildBuilding flutter applications with the toolfound in release: 3.13Found to occur in 3.13found in release: 3.16Found to occur in 3.16has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions