{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/288","labels_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/288/comments","events_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/288/events","html_url":"https://github.com/dart-lang/polymer-dart/issues/288","id":85653582,"number":288,"title":"ArgParser error running `pub run polymer:new_element`","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/Fixed","name":"Fixed","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars.githubusercontent.com/u/984921?v=3","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-06-05T23:09:41Z","updated_at":"2015-06-05T23:09:42Z","closed_at":"2015-06-05T23:09:42Z","body":"<a href=\"https://github.com/danschultz\"><img src=\"https://avatars.githubusercontent.com/u/37429?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [danschultz](https://github.com/danschultz)**\n_Originally opened as dart-lang/sdk#20816_\n\n----\n\n**What steps will reproduce the problem?**\nRun: pub run polymer:new_element web/index.html\n\n**What is the expected output? What do you see instead?**\nAn entry point is created. Instead this error is thrown:\n\nUnhandled exception:\nNo constructor 'ArgParser' with matching arguments declared in class 'ArgParser'.\n\nNoSuchMethodError: incorrect number of arguments passed to method named 'ArgParser'\nReceiver: Type: class 'ArgParser'\nTried calling: ArgParser(allowTrailingOptions: true)\nFound: ArgParser()\n#­0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:168)\n#­1      main (http://localhost:60955/new_element.dart:20:29)\n#­2      \\_startIsolate.isolateStartHandler (dart:isolate-patch/isolate_patch.dart:212)\n#­3      \\_RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:122)\n\n**What version of the product are you using?**\nDart 1.6\nPolymer 0.13.0+2\n\n**On what operating system?**\nMac\n\n**What browser (if applicable)?**\n\n\n**Please provide any additional information below.**\n"}}