Answer the question
In order to leave comments, you need to log in
Error: Error: Unexpected value 'undefined' declared by the module 'ComponentsModule', why?
Good evening. Need help. For the second hour I have been struggling with a solution (Google did not help).
The above error is displayed.
Briefly about the code:
By the name of the error, I can assume that the ComponentsModule module declares the InputComponent component as undefined.
Code from the InputComponent file:
import { Component } from "@angular/core";
import { InputInnerComponent } from "./input-inner";
@Component({
moduleId: module.id,
selector: "input-comp",
templateUrl: "input.component.html",
})
export class InputComponent {}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question