Skip to content

Windows failure if install directory has a "!" in it #26571

@jakcharvat

Description

@jakcharvat

I set up flutter and running any flutter command, including flutter doctor results in

Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to set up Flutter, run the following command:
       git clone -b beta https://github.com/flutter/flutter.git

Git is installed and running git --version returns git version 2.20.1.windows.1.

I've tried installing Flutter through the ZIP on flutter.io, as well as cloning it through both
git clone -b beta https://github.com/flutter/flutter.git
and
git clone -b stable https://github.com/flutter/flutter.git,

restarted my laptop after each and still get the same error after running flutter doctor.

I've never had this happen to me before, and would greatly appreciate any help. Thank you

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consoleplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects 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