-
Notifications
You must be signed in to change notification settings - Fork 75
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
Bad state: Unable to start build daemon #375
Comments
What version of What version of You should be able to run the command |
|
port 0 ? ^^ |
Thanks for the error message. That will definitely help figure out what's going on. As for the 0 port, it's intentional: I do not believe it is documented but I thought the 0 port indicates that any open port should be used. What operating system are you using? |
@grouma |
Looks like it is a local error. A restart or this can solve it: |
Closing this one. We should provide a better error message though: |
reboot / ifconfig did not fix things |
Glad you got it working. Enjoy the Flutter Web preview! |
yup i was waiting web for months |
@grouma
|
@natebosch It does look like an IPv6 issue however we haven't run into this before. That being said we should probably update the logic so that it is similar to this: |
This should close dart-lang/webdev#375
This should now be resolved. Please If you run into further issues please reopen. A better error message will be provided when we publish version |
Now build_daemon 0.6.1, but I get this:
I try to restart, recreate, but error is the same.(only by |
@grouma - do we want yet another
@Goolpe - in the short term you may be able to work around this yourself by changing the host entry for |
Published version |
@grouma I am still facing this issue though I have everything up to date |
I can report that just like @shakeeb1998 I am still facing this issue as well even with everything upgraded to its latest version. A restart does only fix the issue for the first use of |
When the |
This should close dart-lang/webdev#375
@grouma Sorry the late reply! This is the output that I get after the first input of
|
@stemuk what do you get when you run Also what version of cc @jakemac53 It looks like the root cause is due to a file watching issue here: My guess is that the Update: It looks like @stemuk is running on Linux so they shouldn't be using the PollingDirectoryWatcher. It's really odd that they are creating a watcher within a |
No ideas on the file watching, other than if the polling watcher (assuming windows) could be exhausting all available file handles or something else like that, but that seems unlikely? |
I did a quick review of the |
@grouma I am running my development on Ubuntu 16.04 and webdev version 2.0.5.
|
Nothing out of the ordinary. I replicated your setup and didn't have any issues. What happens when you run |
I think we've fixed the known issues here and we've improved logging - if anyone is still running in to trouble feel free to update with the current output you're seeing and we can take another look. |
Encountering this issue now - looks like the build_runner moving to build_daemon 2.0.0 reintroduced problems. Issue persists after a computer reboot too.
|
|
@grouma thanks, worked like a charm |
Same issue
|
@bubnenkoff it seems like your pub cache is corrupted. Try running |
I now get this even after I get sooooo many random internal errors from For instance, after trying For the second bug, running I suspect the actual error is
Which I guess is related to the fact that I have this in my
But if I remove either of them I get some error or other. The shaving continues... |
It is indeed caused by having both |
did not work for me |
running
seems to work |
webdev serve command
How to do?
The text was updated successfully, but these errors were encountered: