Skip to content
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

Conflicts with source assets should have a better error message #14593

Closed
nex3 opened this issue Oct 29, 2013 · 15 comments
Closed

Conflicts with source assets should have a better error message #14593

nex3 opened this issue Oct 29, 2013 · 15 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@nex3
Copy link
Member

nex3 commented Oct 29, 2013

Right now when barback detects a conflict between a generated asset and a source asset, it displays it like so:

    Transforms {Dart2JS on wordherd|web/solver/solver.dart} all emitted asset wordherd|web/solver/solver.dart.js.

This makes it look like a bug, since there's only one transformer there. The error should make it clear that the conflict was with a source asset on the physical filesystem.

@nex3
Copy link
Member Author

nex3 commented Oct 29, 2013

See also issue #14554.

@sigmundch
Copy link
Member

Marked this as blocking #14771.

@nex3
Copy link
Member Author

nex3 commented Dec 17, 2013

Issue #15668 has been merged into this issue.

@sethladd
Copy link
Contributor

thanks for de-duping!

@sigmundch
Copy link
Member

FYI - this bug might be also the reason behind issue #15823, I just replied there to clarify. It seems that the process described in issue #14771 (clicking 'Run As Javascript') is going to trip a lot of people with this error.

@lrhn
Copy link
Member

lrhn commented Jan 14, 2014

Removed Area-Library label.
Added Area-Pkg label.

@nex3
Copy link
Member Author

nex3 commented Jan 29, 2014

Issue #16374 has been merged into this issue.

@anders-sandholm
Copy link
Contributor

Removed Library-Barback label.
Added Pkg-Barback label.

@nex3
Copy link
Member Author

nex3 commented Feb 12, 2014

Issue #16748 has been merged into this issue.

1 similar comment
@sethladd
Copy link
Contributor

Issue #16748 has been merged into this issue.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@sonoranDesert
Copy link

I'm getting an "all emitted asset" error similar to the one described in this ticket when I run the pub build command on my project.

Is there some way I can determine which asset is causing the conflict?

@sonoranDesert
Copy link

Sorry for the emails, but I figured out the issue. If the build artifact already exists then pub build gives you that inscrutable error message, but there is no problem if you clean up beforehand.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/barback#18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

9 participants