{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/6021","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/6021/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/6021/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/6021/events","html_url":"https://github.com/angular/angular-cli/issues/6021","id":223038973,"number":6021,"title":"Error when running `ng lint --type-check` with Angular 4.0.2","user":{"login":"tsvetomir","id":247917,"avatar_url":"https://avatars2.githubusercontent.com/u/247917?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvetomir","html_url":"https://github.com/tsvetomir","followers_url":"https://api.github.com/users/tsvetomir/followers","following_url":"https://api.github.com/users/tsvetomir/following{/other_user}","gists_url":"https://api.github.com/users/tsvetomir/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvetomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvetomir/subscriptions","organizations_url":"https://api.github.com/users/tsvetomir/orgs","repos_url":"https://api.github.com/users/tsvetomir/repos","events_url":"https://api.github.com/users/tsvetomir/events{/privacy}","received_events_url":"https://api.github.com/users/tsvetomir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-20T11:41:22Z","updated_at":"2017-04-20T11:41:22Z","closed_at":null,"body":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report\r\n```\r\n\r\n### Versions.\r\n```\r\n@angular/cli: 1.0.0\r\nnode: 6.10.1\r\nos: linux x64\r\n@angular/common: 4.0.2\r\n@angular/compiler: 4.0.2\r\n@angular/core: 4.0.2\r\n@angular/forms: 4.0.2\r\n@angular/http: 4.0.2\r\n@angular/platform-browser: 4.0.2\r\n@angular/platform-browser-dynamic: 4.0.2\r\n@angular/router: 4.0.2\r\n@angular/cli: 1.0.0\r\n@angular/compiler-cli: 4.0.2\r\n```\r\n\r\n\r\n### Repro steps.\r\n```\r\nng new lint-test && cd lint-test\r\nng lint --type-check\r\n```\r\n\r\n### The log given by the failure.\r\n```\r\nTypeError: this.symbolResolver.getSymbolByModule is not a function\r\n    at StaticReflector.findDeclaration (/tmp/angular402/node_modules/@angular/compiler/bundles/compiler.umd.js:22794:63)\r\n    at StaticReflector.initializeConversionMap (/tmp/angular402/node_modules/@angular/compiler/bundles/compiler.umd.js:23012:36)\r\n    at new StaticReflector (/tmp/angular402/node_modules/@angular/compiler/bundles/compiler.umd.js:22741:14)\r\n    at ContextSymbols.init (/tmp/angular402/node_modules/ngast/ngast.bundle.js:2479:26)\r\n    at new ContextSymbols (/tmp/angular402/node_modules/ngast/ngast.bundle.js:2340:14)\r\n    at ProjectSymbols.getRootContext (/tmp/angular402/node_modules/ngast/ngast.bundle.js:2558:28)\r\n    at ProjectSymbols.getLazyLoadedContexts (/tmp/angular402/node_modules/ngast/ngast.bundle.js:2573:18)\r\n    at Object.exports.parseTemplate (/tmp/angular402/node_modules/codelyzer/angular/templates/contextAwareTemplateParser.js:21:35)\r\n    at Ng2Walker.visitNg2Component (/tmp/angular402/node_modules/codelyzer/angular/ng2Walker.js:119:64)\r\n    at Ng2Walker.visitClassDeclaration (/tmp/angular402/node_modules/codelyzer/angular/ng2Walker.js:50:18)\r\n[... snip ...]\r\nAll files pass linting.\r\n```\r\n\r\n\r\n### Desired functionality.\r\nThe lint should pass with an empty project.\r\n\r\n\r\n### Mention any other details that might be useful.\r\nDowngrading to 4.0.1 resolves this issue.\r\nCC-ing @mgechev since the call stack includes Codelyzer"}}
{"actor":{"display_login":"tsvetomir"}}