Skip to content

Unknown error in executing flutter command #13822

@zarub2k

Description

@zarub2k

Steps to Reproduce

I am getting the following error whenever i execute flutter command in my terminal

Logs

[: !=: unary operator expected

/Users/tham/softwares/flutter/bin/flutter: line 43: [: !=: unary operator expected
Downloading Material fonts...

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: f17d2f489794bb56)
Crash report written to /Users/tham/flutter_02.log;
please let us know at https://github.com/flutter/flutter/issues.

Run your application with flutter run and attach all the log output.

Run flutter analyze and attach any output of that command also.

Flutter Doctor

Paste the output of running flutter doctor here.

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

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