-
Notifications
You must be signed in to change notification settings - Fork 230
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
dart pub unpack
fails with dependency published from a workspace
#4393
Comments
dart pub unpack
fails with workspacesdart pub unpack
fails with dependency published from a workspace
Yeah - this is a bit unfortunate. This speaks for having a resolution mode that ignores the I don't really like any of those solutions. We could have a command @jonasfj what do you think... |
Nothing is fully thought through.
Off the top my head, it makes me wonder if adding Since we ended up doing the But in a world where we don't undo this, I agree, it's tempting to make a mode that ignores But I fear that it would poorly as opening in the IDE often triggers a In general: We want If
Agreed, but doing so in order to do It's certainly an option to consider. Could we do it by adding a |
Yeah - that is not a bad idea! We could let the |
We probably don't need to override the And we could do the same for |
Environment
Problem
unpack
command runsdart pub get
in dependency that is a workspace and fails.Expected behavior
unpack
should work "out of the box" withresolution: workspace
packagesdart pub unpack binary_serializable
should succeed.Actual behavior
The exit code is
66
I am able to resolve by removing the
resolution: workspace
entry in thepubspec.yaml
and runningdart pub get
by hand.The text was updated successfully, but these errors were encountered: