{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/375","labels_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/375/comments","events_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/375/events","html_url":"https://github.com/dart-lang/polymer-dart/issues/375","id":85653869,"number":375,"title":"make it an error to have non-existing files in entry_points in the pubspec.yaml","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/polymer-dart/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/PolymerMilestone-Next","name":"PolymerMilestone-Next","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-05T23:11:44Z","updated_at":"2015-06-05T23:11:47Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#16190_\n\n*This issue was originally filed by lyhoangh...&#064;gmail.com*\n_____\nIn pubspec.yaml, if the entry_points is invalid\n\ntransformers:\n- polymer:\n&nbsp;&nbsp;&nbsp;&nbsp;entry_points: web/zzzz.html\n\nIf zzzz.html does not exist, there is no warnings.\nThen when load the output js files, there is an error in console:\n\n&quot;Uncaught TypeError: Object #&lt;HTMLDocument&gt; has no method 'register' &quot;\n\nIt's take me 2 hours to investigate and find out the issue.\nIt would be better that the transforms output the error and stop completely the process.\n\nThis is simple but helpful a lot for polymer newsbie who do copy &amp; paste code a lot.\n\nBest"},"comment":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/comments/109476310","html_url":"https://github.com/dart-lang/polymer-dart/issues/375#issuecomment-109476310","issue_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/375","id":109476310,"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-05T23:11:46Z","updated_at":"2015-06-05T23:11:46Z","body":"<a href=\"https://github.com/sigmundch\"><img src=\"https://avatars.githubusercontent.com/u/2049220?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [sigmundch](https://github.com/sigmundch)**\n\n----\n\nFYI - the error message is now better when working in Dartium, but it still not good when you run in js."}}