-
Notifications
You must be signed in to change notification settings - Fork 206
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
Multiple packages with the name my_package
found in the workspace
#235
Comments
I'm able to reproduce this reliably on our CI machine and by adding logs to a locally built Will continue to figure out what's going on by piping the |
So I finally figured out that the underlying reason for the hanging during
So the failure is definitely making its way back to |
Not sure why the duplicate package issue happened since melos/packages/melos/lib/src/package.dart Line 325 in 80332f3
Did you manage to look into |
Issue #216 looks like the same problem with |
I am not, I was able to reproduce this on a Mac as well as the CI machine which I believe is running Ubuntu. You can probably(?) reproduce this simply by doing a bootstrap, hitting CTRL+C before it completes, then running again. I had to
I haven't had a chance to test this unfortunately but what @blaugold mentions sounds promising... Although that assumes the |
I now suspect that not fully consuming the stdout and stderr might be a problem not just on windows. This is according to the docs for
I've submitted PR #240 as a fix for #216, but it might fix this one, too. |
I also have this issue of infinite loading during bootstrap. Can this fix be published on 1.2.2 so I can test it? |
Publishing now, give me a few mins |
@danilofuchs v1.2.2 is now on pub - please try it out, thanks! |
1.2.2 solved the infinite bootstrap. I now receive the correct error messages from pub get, thanks! |
Great, thanks for confirming, and huge thanks @blaugold for the fix! Will close this as resolved |
Hey @Salakar. 1.2.2 solved the infinite loading problem, but the issues are unrelated. When cancelling a bs (ctrl + c), the next bs will detect the folder inside .dart_tool as a package. |
We're running into an issue where
melos
:.dart_tool/melos_tool
to remain populated (but no logs indicate why it's hanging. It hangs for > 10 minutes at which point CI times out).dart_tool/melos_tool
when running commands, such asbootstrap
, which leads to the following error:It (seemingly) randomly started happening to us on
1.0.0-dev3
but bumping to1.2.0
did not fix the issue. It's not fully reproducible locally (even a fresh clone of the repo will not reproduce it) but is happening consistently on CI.Wondering if there's anything that would cause this that we may have unknowingly done, or if there's any guidance in debugging you might be able to provide.
The text was updated successfully, but these errors were encountered: