{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/tools/issues/272","repository_url":"https://api.github.com/repos/Polymer/tools","labels_url":"https://api.github.com/repos/Polymer/tools/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/tools/issues/272/comments","events_url":"https://api.github.com/repos/Polymer/tools/issues/272/events","html_url":"https://github.com/Polymer/tools/issues/272","id":318878161,"number":272,"title":"[lint] Internal error during linting: Cannot read property '__location' of undefined","user":{"login":"web-padawan","id":10589913,"avatar_url":"https://avatars2.githubusercontent.com/u/10589913?v=4","gravatar_id":"","url":"https://api.github.com/users/web-padawan","html_url":"https://github.com/web-padawan","followers_url":"https://api.github.com/users/web-padawan/followers","following_url":"https://api.github.com/users/web-padawan/following{/other_user}","gists_url":"https://api.github.com/users/web-padawan/gists{/gist_id}","starred_url":"https://api.github.com/users/web-padawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-padawan/subscriptions","organizations_url":"https://api.github.com/users/web-padawan/orgs","repos_url":"https://api.github.com/users/web-padawan/repos","events_url":"https://api.github.com/users/web-padawan/events{/privacy}","received_events_url":"https://api.github.com/users/web-padawan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-30T12:47:46Z","updated_at":"2018-04-30T12:47:46Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nAfter upgrading to latest polymer-cli, we get the internal lint error when linting `vaadin-text-field`.\r\n\r\n```sh\r\n$ polymer lint --rules polymer-2 --input ./src/*.html ./theme/**/*.html\r\n\r\n<!--\r\n~\r\n\r\nsrc/vaadin-text-field.html(1,1) warning [internal-lint-error] - Internal error during linting: Cannot read property '__location' of undefined\r\n\r\nFound 1 warning.\r\n```\r\n\r\n### Versions & Environment\r\n- polymer-cli: 1.7.0-pre.15\r\n- node: 8.11.1\r\n- Operating System: Mac OS\r\n\r\n#### Steps to Reproduce\r\n\r\n1. Clone the repo:\r\n```sh\r\ngit clone https://github.com/vaadin/vaadin-text-field && cd vaadin-text-field\r\n```\r\n\r\n2. Install the CLI:\r\n```sh\r\nnpm i g polymer-cli@next\r\n```\r\n\r\n3. Install bower dependencies:\r\n```sh\r\nbower i\r\n```\r\n\r\n4. Run the lint:\r\n```sh\r\npolymer lint --rules polymer-2 --input ./src/*.html ./theme/**/*.html\r\n```\r\n\r\n### Expected result\r\n\r\nNo errors or warnings, as with CLI 1.6.0\r\n\r\n### Actual result\r\n\r\nThe internal error described above.\r\n\r\nSeems to be an analyzer issue, but I'm not really sure at which point was it introduced. Have also tried earlier preview versions with the same result."}}
{"actor":{"display_login":"web-padawan"}}