So i just install windows 11 and setup my flutter. However when i run any flutter command, nothing happens at all. i do net get any error or any message. Its just finish with no message. This happens on both CMD and Powershell. I thought it was the Windows Defender, so i have disable it but still doesnt work. When ever i delete the cache folder in the bin, and run flutter doctor, it downloads the Dart sdk and works. right after a restart or few minutes i get the same problem.
[]
(.png)
I have added flutter path to environment variables. i have tried to change the flutter location and still keep getting this error
So i just install windows 11 and setup my flutter. However when i run any flutter command, nothing happens at all. i do net get any error or any message. Its just finish with no message. This happens on both CMD and Powershell. I thought it was the Windows Defender, so i have disable it but still doesnt work. When ever i delete the cache folder in the bin, and run flutter doctor, it downloads the Dart sdk and works. right after a restart or few minutes i get the same problem.
[]
(https://i.sstatic/fzteALl6.png)
I have added flutter path to environment variables. i have tried to change the flutter location and still keep getting this error
Share Improve this question edited Mar 17 at 21:05 Fuse Koda asked Mar 16 at 23:30 Fuse KodaFuse Koda 317 bronze badges 6- 2 Please don't post textual information in the form of pictures. Please see: Why should I not upload images of code/data/errors? If you still need an image, it can complement the textual information. – Sergey A Kryukov Commented Mar 17 at 0:29
- Have you set flutter path as an environment variable?, if not you can refer to this answer – Daniel Onadipe Commented Mar 17 at 1:44
- Did you already try to create a new flutter project using vscode? and it is success? – gopelkujo Commented Mar 17 at 2:14
- I had an existing Flutter project that I opened in VSCode, but no Flutter command works. i have set up the flutter path – Fuse Koda Commented Mar 17 at 21:12
- similar problems: github/flutter/flutter/issues/24148 and: github/flutter/flutter/issues/87383 – Palejandro Commented Mar 17 at 22:04
1 Answer
Reset to default 0This is interesting... I noticed that you are probably running as admin on the first screenshot and running within vs code on the second one. Can you try running on PowerShell without elevated privileges?
Just wondering if it would be related to this, because the 2 attempts you have can have different env settings when running