Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish

I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH.

Now, once I try to execute flutter in CMD / Powershell (I work on Windows 10), it gives no output. It seems to recognize the command, but it doesn't give further output for a very long time, the console just remains empty.

Has anyone encountered that problem before and knows how to fix it? Thanks.

like image 434
Ely Shaffir Avatar asked May 15 '19 11:05

Ely Shaffir


People also ask

How do you solve flutter is not recognized as an internal or external command operable program or batch file?

The solution is to install Flutter in a path containing only alphanumeric characters (just to be sure). Be sure to update the PATH Environment Variable, as suggested in the other answers.

How do I run the doctor flutter command in Windows 10?

To do this, under the Command Prompt terminal, type in 'Flutter Doctor' to check for other requirements. (Since a version has already been installed on my computer, below is an image shown from a previous version, to help you get an understanding of the 'errors' that appear after flutter doctor analysis.)


2 Answers

The problem was that I installed it in C:/Program Files, the guy in the course didn't mention anything about that but in the link you sent they did.

Here's the key takeaway.

enter image description here

Installing flutter in places that requires elevated privileges (e.g. C:\Program Files\ won't work.

Thank you @pskink for the link.

like image 172
Ely Shaffir Avatar answered Sep 28 '22 05:09

Ely Shaffir


it takes a long time, just wait. or you input flutter --verbose, it will output infomation to console.

like image 21
ethan_you Avatar answered Sep 28 '22 05:09

ethan_you