Reputation: 11
I use a MacBook Pro and install flutter, but when I type flutter doctor
, it doesn't respond (about 10 minutes passed).
this issue same to me, but I don't install Mamp software.
Upvotes: 1
Views: 7642
Reputation: 39
If on Windows and flutter doctor is not responding , it means it needs administrative privileges. Just go to search bar , find Command prompt and run it as administrator. That should do.
Upvotes: 3
Reputation: 2389
If on windows try open task manager and end/terminate all dart.exe processes, might be flutter doctor waiting on another dart.exe process to finish that for whatever reason is not finishing
Upvotes: 0
Reputation: 11
try to run command : flutter
maybe you get some error, and fix it.
i also get error:
The term 'Unblock-File' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path wa
s included, verify that the path is correct and try again.
At line:1 char:13
+ Unblock-File <<<< -Path 'C:\src\flutter/bin/internal/update_dart_sdk.ps1'; &
'C:\src\flutter/bin/internal/update_dart_sdk.ps1'
+ CategoryInfo : ObjectNotFound: (Unblock-File:String) [], Comman
dNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Flutter requires PowerShell 5.0 or newer.
See https://flutter.dev/docs/get-started/install/windows for more.
Building flutter tool...
Running pub upgrade...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because flutter_tools requires SDK version >=2.2.2 <3.0.0, version solving
failed.
and i fix it.
Upvotes: 1
Reputation: 559
Without sounding silly, are you connected online? This happens to me when I'm disconnected from the Internet.
Also, what happens when you do this?
> flutter upgrade
Does it still lock up then, or does it actually check the version before eventually continuing and running flutter doctor?
Upvotes: 1