-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waiting for another flutter command to release the startup lock... #17422
Comments
Do you have |
@sathishbalan is this still an issue? |
Might be a dup of #14703 |
yes, get it; it is work |
Kill the terminal using the delete (trash) icon if you are using a Visual Studio Code editor |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! |
Hi! What I noticed is that there is an issue with the 'pub' tool ==> 'build_runner is not found' and that there is an exit code 64 for involved (what ever that means) I looked it up in the documentation, but without any success... Hopefully, this will be useful for some one to solve the solution! |
@D19cannon Please create a new issue with full information, including the output of |
Hi, yes I do the latest (upgraded a billion times). |
You can: rm ./flutter/bin/cache/lockfile |
This issue also occurs due to internet proxies ,make sure that you have full network access . |
you can open flutter/bin/cache/lockfile ,and delete this lockfile ,I solve this problem by this |
On OSX: |
delete 'lockfile',It is work |
Thanks ! @CompileYouth |
Thanks. But mention that the lockfile file is depending on the location that flutter SDK. In my OS,I need to delete ~/Documents/SDK/flutter/bin/cache/lockfile. |
another way On OSX: |
And what about if we have a proxy. What can we do to fix it? |
In my case, there was an
|
Find the folder where flutter is installed, and delete |
run flutter clean |
flutter clean won't run either. If I delete the flutter.bat.lock file, it will run clean, but the "Waiting ..." message still comes up when I restart the idea. Have to reboot my computer to be able to delete lockfile, even when the IDE is shut down. Doesn't fix the problem. |
|
I suspect flutter would get more corporate adoption if it were easier to use in a corporate environment. Might want to figure out a way to remove all the proxy hoops that need to be jumped through to use it. |
Restarting the terminal worked for me. |
Still having this problem, nothing seems to clear it. |
killall -9 dart |
delete lock file not worked for me. |
that'is it,thx |
I had tried all the solution mentioned above, and nothing works for me and creating flutter application dialog goes forever, but what I did is, end AS task and open it again but this time instead of creating a new project, I just opened the project I just exit from it, and it opens fine, |
there may be a way to resolve this problem |
On windows open task manager and kill the last dart child process in android studio |
just delete the flutter/bin/cache/lock file and then do flutter upgrade in ide and it will solve your problem. |
just remove lock file and restart my Mac work for me |
I solved the problem by opening task manager and killing the 'dart.exe' process(es) |
Work for me, |
@CompileYouth That's wored for me. Thanks |
In my case, following command in Terminal or cmd helped (as suggested by Günter):
On Windows (as suggested by upupming):
or remove this file
This releases the occupied lock and makes you able to run other commands. |
On Mac, open Activity Monitor, search dart, then quit all dart process |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Waiting for another flutter command to release the startup lock...
The text was updated successfully, but these errors were encountered: