Skip to content

flutter upgrade won't run if the engine is out of date #1745

Closed

Description

@devoncarew

Running flutter upgrade will fail with a message to run pub get if the engine is out of date. We should not include upgrade in the engine check, since it would fix the issue.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Feb 9, 2016
  2. devoncarew commented on Feb 9, 2016

    @devoncarew
    ContributorAuthor
  3. collinjackson commented on Feb 10, 2016

    @collinjackson
    Contributor

    Can you clarify what you mean by "should not include upgrade in the engine check"?

  4. devoncarew commented on Feb 10, 2016

    @devoncarew
    ContributorAuthor

    Yup, when I ran flutter upgrade, I got an error:

    [~/flutter/flutter_sunflower] flutter upgrade
    Error: incompatible sky_engine package; please run 'pub get' to get the correct one.
    

    which pub get fixed, but my understanding is that flutter upgrade should fix the error as well. We should not include the upgrade command in the sky_engine package check.

  5. collinjackson commented on Feb 10, 2016

    @collinjackson
    Contributor

    OK, I understand now that you mean we should not perform the sky_engine package check in the upgrade command. Makes sense!

  6. added a commit that references this issue on Feb 10, 2016
    96405fb
  7. github-actions commented on Sep 6, 2021

    @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.

  8. locked as resolved and limited conversation to collaborators on Sep 6, 2021
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

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions