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
make it an error to have non-existing files in entry_points in the pubspec.yaml #16190
Comments
Added Area-Polymer, Triaged labels. |
This comment was originally written by andriy....@gmail.com Thank you so much for reporting that, today spent a while to find a reason of that issue. |
Added Library-PolymerBuild label. |
Added this to the 1.5 milestone. |
Changed the title to: "make it an error to have non-existing files in entry_points in the pubspec.yaml". |
Added Pkg-Polymer label. |
Removed Pkg-Polymer label. |
Removed Library-PolymerBuild label. |
Removed Area-Polymer label. |
Removed Priority-Unassigned label. |
Issue #19363 has been merged into this issue. |
FYI - the error message is now better when working in Dartium, but it still not good when you run in js. |
Removed this from the 1.6 milestone. |
Removed Polymer-P-1 label. |
Added PolymerMilestone-Next label. |
Removed Polymer-Milestone-Next label. |
This issue has been moved to dart-archive/polymer-dart#375. |
This issue was originally filed by lyhoangh...@gmail.com
In pubspec.yaml, if the entry_points is invalid
transformers:
entry_points: web/zzzz.html
If zzzz.html does not exist, there is no warnings.
Then when load the output js files, there is an error in console:
"Uncaught TypeError: Object #<HTMLDocument> has no method 'register' "
It's take me 2 hours to investigate and find out the issue.
It would be better that the transforms output the error and stop completely the process.
This is simple but helpful a lot for polymer newsbie who do copy & paste code a lot.
Best
The text was updated successfully, but these errors were encountered: