Skip to content

Multiple output directories specified with --pub #6489

Closed

Description

@warent

Something odd happens with flutter create <project>
If you try it without any options it works fine. If you try it with the --pub flag it says Multiple output directories specified

Activity

  1. eseidelGoogle commented on Oct 23, 2016

    @eseidelGoogle
    Contributor
  2. danrubel commented on Oct 25, 2016

    @danrubel

    Does flutter create --pub myapp work for you?
    Does flutter create myapp --pub fail?

    My guess is that the underlying Dart command framework only handles options immediately after the command name (e.g. create is the command in this situation). I'll try to improve the error message so that its more obvious what the tool expects.

  3. somay-py commented on Sep 7, 2020

    @somay-py

    try removing space from your app name

  4. GhagSagar23 commented on Dec 21, 2020

    @GhagSagar23
    Contributor

    Just move your app name after the --pub flag

  5. github-actions commented on Aug 8, 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.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions