{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/877","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/877/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/877/events","html_url":"https://github.com/dart-lang/pub/issues/877","id":85645048,"number":877,"title":"When polymer transformer is given a non-existent file, it does not show an error","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/NotPlanned","name":"NotPlanned","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Usability","name":"Usability","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:16:50Z","updated_at":"2015-06-05T22:16:50Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#16983_\n\n*This issue was originally filed by LukeEC...&#064;gmail.com*\n_____\nMy application had an incorrect entry_point specified in the pubspec.yaml file, referencing a file that didn't exist.\n\nThe result of Pub Build was \n\n'--- 4:56:26 PM Running pub build ... ---\nBuilding autocomplete...\nBuilt 19 files!'\n\nThis made it somewhat difficult to locate the problem.\n\nI don't know if this is a problem with the transformer infrastructure, or with the specific transformer for polymer. Assigning to Polymer for now, please feel free to reassign."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109458586","html_url":"https://github.com/dart-lang/pub/issues/877#issuecomment-109458586","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/877","id":109458586,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:16:50Z","updated_at":"2015-06-05T22:16:50Z","body":"<a href=\"https://github.com/munificent\"><img src=\"https://avatars.githubusercontent.com/u/46275?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [munificent](https://github.com/munificent)**\n\n----\n\n> Bob/nathan - could this be something that generates a warning in pub. For example: if a transformer didn't apply to any file, should that be a warning?\n\nI don't think so. It's valid in some circumstances for a transformer to not run. For example:\n\n1. You have a library that exposes multiple transformers and the user only uses one of them.\n2. A transformer expects to run on the results of a previous transformer and that transformer temporarily failed because it had an error.\n3. The user just hasn't created a file for that transformer yet.\n\nThis bug is annoying, but there's probably not too much we can do about it."}}