Skip to content

Waiting for another flutter command to release the startup lock... #17422

Closed
@sathishbalan

Description

@sathishbalan

Waiting for another flutter command to release the startup lock...

Activity

zoechi

zoechi commented on May 9, 2018

@zoechi
Contributor

Do you have flutter packages pub build_runner watch running?
Kill all dart processes and try again or restart the computer.

added
waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds
on Jun 12, 2018
zoechi

zoechi commented on Jun 12, 2018

@zoechi
Contributor

@sathishbalan is this still an issue?

zoechi

zoechi commented on Jun 12, 2018

@zoechi
Contributor

Might be a dup of #14703

haoma2012

haoma2012 commented on Jun 19, 2018

@haoma2012

yes, get it; it is work

YobMe

YobMe commented on Jul 25, 2018

@YobMe

Kill the terminal using the delete (trash) icon if you are using a Visual Studio Code editor

no-response

no-response commented on Jul 25, 2018

@no-response

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!
Thanks for your contribution.
cc @Hixie

D19cannon

D19cannon commented on Aug 15, 2018

@D19cannon

Hi!
i'm still having the same issue and @zoechi didn't work for me.

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!

screen shot 2018-08-15 at 15 12 50

zoechi

zoechi commented on Aug 15, 2018

@zoechi
Contributor

@D19cannon Please create a new issue with full information, including the output of flutter doctor -v.
Please check first you have a recent Flutter version.

D19cannon

D19cannon commented on Aug 15, 2018

@D19cannon

Hi, yes I do the latest (upgraded a billion times).
Any how, I solved it by removing the .bin/lock files (from another issue) or and used the command afterwards.

CompileYouth

CompileYouth commented on Sep 20, 2018

@CompileYouth

You can: rm ./flutter/bin/cache/lockfile

shavigrewal

shavigrewal commented on Oct 16, 2018

@shavigrewal

This issue also occurs due to internet proxies ,make sure that you have full network access .

ztz12

ztz12 commented on Oct 31, 2018

@ztz12

you can open flutter/bin/cache/lockfile ,and delete this lockfile ,I solve this problem by this

18 remaining items

athlan20

athlan20 commented on Aug 2, 2019

@athlan20

You can: rm ./flutter/bin/cache/lockfile

that'is it,thx

codingcity4747

codingcity4747 commented on Sep 2, 2019

@codingcity4747

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,
what causes this problem, I think when I tried to load a picture from image.asset
after creating a new dir asset/images/pic.jpg and add the asset in pubspec.ymal
when getting the package or something, that's when all this happened
Conclusion:
just create a new project, and when Creating flutter project dialog appear close Android studio from Task manager, then open it again but this time open an existing project which is the previous one
hope that works for you

yanjiepeng

yanjiepeng commented on Sep 9, 2019

@yanjiepeng

there may be a way to resolve this problem
just install another version of dart
update environment variables
it will be fixed

johnDivek

johnDivek commented on Sep 13, 2019

@johnDivek

On windows open task manager and kill the last dart child process in android studio

BhatiPankaj

BhatiPankaj commented on Sep 18, 2019

@BhatiPankaj

just delete the flutter/bin/cache/lock file and then do flutter upgrade in ide and it will solve your problem.

LucasJorgeHubert

LucasJorgeHubert commented on Oct 8, 2019

@LucasJorgeHubert

just remove lock file and restart my Mac work for me

msndvlpr

msndvlpr commented on Oct 15, 2019

@msndvlpr

I solved the problem by opening task manager and killing the 'dart.exe' process(es)

hgadjan

hgadjan commented on Oct 16, 2019

@hgadjan

You can: rm ./flutter/bin/cache/lockfile

Work for me,
thank you

originalix

originalix commented on Jan 9, 2020

@originalix

@CompileYouth That's wored for me. Thanks

rahmanrezaee

rahmanrezaee commented on Feb 17, 2020

@rahmanrezaee

In my case, following command in Terminal or cmd helped (as suggested by Günter):

killall -9 dart

On Windows (as suggested by upupming):

taskkill /F /IM dart.exe

or remove this file

<YOUR FLUTTER FOLDER>/bin/cache/lockfile

This releases the occupied lock and makes you able to run other commands.

zacdaryl

zacdaryl commented on Mar 13, 2020

@zacdaryl

On Mac, open Activity Monitor, search dart, then quit all dart process

lock

lock commented on Apr 4, 2020

@lock

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 flutter doctor -v and a minimal reproduction of the issue.

locked and limited conversation to collaborators on Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zoechi@skaterdude@sbefort@loolooii@athlan20

        Issue actions

          Waiting for another flutter command to release the startup lock... · Issue #17422 · flutter/flutter