You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot parse the template of DemoComponent TypeError: Cannot read property 'name' of undefined
at SymbolAccessValidator.doCheck (/path/to/project/node_modules/codelyzer/templatesUsePublicRule.js:36:37)
at SymbolAccessValidator.visitPropertyRead (/path/to/project/node_modules/codelyzer/templatesUsePublicRule.js:24:21)
at PropertyRead.visit (/path/to/project/node_modules/@angular/compiler/@angular/compiler.es5.js:2540:15)
at SymbolAccessValidator.RecursiveAngularExpressionVisitor.visit (/path/to/project/node_modules/codelyzer/angular/templates/recursiveAngularExpressionVisitor.js:18:13)
at /path/to/project/node_modules/codelyzer/angular/templates/recursiveAngularExpressionVisitor.js:46:64
at Array.forEach (native)
at SymbolAccessValidator.RecursiveAngularExpressionVisitor.visitInterpolation (/path/to/project/node_modules/codelyzer/angular/templates/recursiveAngularExpressionVisitor.js:46:25)
at Interpolation.visit (/path/to/project/node_modules/@angular/compiler/@angular/compiler.es5.js:2758:23)
at SymbolAccessValidator.RecursiveAngularExpressionVisitor.visit (/path/to/project/node_modules/codelyzer/angular/templates/recursiveAngularExpressionVisitor.js:18:13)
at BasicTemplateAstVisitor.visitNgTemplateAST (/path/to/project/node_modules/codelyzer/angular/templates/basicTemplateAstVisitor.js:67:25)
at BasicTemplateAstVisitor.visitBoundText (/path/to/project/node_modules/codelyzer/angular/templates/basicTemplateAstVisitor.js:111:18)
at BoundTextAst.visit (/path/to/project/node_modules/@angular/compiler/bundles/compiler.umd.js:87:24)
at BasicTemplateAstVisitor.visit (/path/to/project/node_modules/codelyzer/angular/templates/basicTemplateAstVisitor.js:71:14)
at /path/to/project/node_modules/codelyzer/angular/templates/basicTemplateAstVisitor.js:89:62
at Array.forEach (native)
at BasicTemplateAstVisitor.visitElement (/path/to/project/node_modules/codelyzer/angular/templates/basicTemplateAstVisitor.js:89:26)
The text was updated successfully, but these errors were encountered:
Rule: templates-use-public
Codealyzer Version: 3.0.1
Angular Version: 4.1.3
Minimal Snippet
Interface:
Class:
No class/interface definition:
Error Displayed
The text was updated successfully, but these errors were encountered: