Issue
Problem
Since some time we get an Error: NG02100 in our app. My problem is that I have no idea what is going and everything is working except one item in the navbar, but which has the identical code to the other components.
I tried checking the docs, but the error is not documented there. Did anybody else have this error and can help out?
We use these Angular packages in our app for reference:
"@angular/animations": "^13.2.1",
"@angular/common": "^13.2.1",
"@angular/compiler": "^13.2.1",
"@angular/core": "^13.2.1",
"@angular/forms": "^13.2.1",
"@angular/localize": "^13.2.1",
"@angular/platform-browser": "^13.2.1",
"@angular/platform-browser-dynamic": "^13.2.1",
"@angular/router": "^13.2.1",
"@angular/service-worker": "^13.2.1",
"@angular-devkit/architect": "^0.1302.2",
"@angular-devkit/build-angular": "^13.2.2",
"@angular-devkit/core": "^13.2.2",
"@angular-devkit/schematics": "^13.2.2",
"@angular-eslint/eslint-plugin": "~1.0.0",
"@angular-eslint/eslint-plugin-template": "~1.0.0",
"@angular-eslint/template-parser": "~1.0.0",
"@angular/cli": "^13.2.2",
"@angular/compiler-cli": "^13.2.1",
"@angular/language-service": "^13.2.1",
Solution
Solution
Our problem was that a service returned an incorrect object which the component could not pass. That caused the error for us. So basically the component received undefined
.
Answered By - Gh05d
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.