Answer the question
In order to leave comments, you need to log in
Error when building a project on angular 7?
The bottom line is, everything worked great. It was necessary to refactor and move the comments to a different path.
Transferred, changed all the ways.
I connected the components in the module and connected the module itself in the main app.module
But now errors are thrown during assembly, where to dig?
ERROR in : Can't bind to 'readOnly' since it isn't a known property of 'b2b-control-text'.
1. If 'b2b-control-text' is an Angular component and it has 'readOnly' input, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("<div class="row">
<b2b-control-text [ERROR ->][readonly]="true" label="Предыдущий договор (страховая компания)" [control]="linkedContractInfoForm.g")
: Can't bind to 'control' since it isn't a known property of 'b2b-control-text'.
1. If 'b2b-control-text' is an Angular component and it has 'control' input, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("class="row">
<b2b-control-text [readonly]="true" label="Предыдущий договор (страховая компания)" [ERROR ->][control]="linkedContractInfoForm.get('StrahovshhikPoPredDogName')"></b2b-control-text>
<b2b-contr")
: 'b2b-control-text' is not a known element:
1. If 'b2b-control-text' is an Angular component, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("<div class="row">
[ERROR ->]<b2b-control-text [readonly]="true" label="Предыдущий договор (страховая компания)" [control]="linked")
: Can't bind to 'readOnly' since it isn't a known property of 'b2b-control-text'.
1. If 'b2b-control-text' is an Angular component and it has 'readOnly' input, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("="linkedContractInfoForm.get('StrahovshhikPoPredDogName')"></b2b-control-text>
<b2b-control-text [ERROR ->][readonly]="true" label="Предыдущий договор (номер)" [control]="linkedContractInfoForm.get('NomerPred")
: Can't bind to 'control' since it isn't a known property of 'b2b-control-text'.
1. If 'b2b-control-text' is an Angular component and it has 'control' input, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("me')"></b2b-control-text>
<b2b-control-text [readonly]="true" label="Предыдущий договор (номер)" [ERROR ->][control]="linkedContractInfoForm.get('NomerPredDog')"></b2b-control-text>
<b2b-control-select *ng")
: 'b2b-control-text' is not a known element:
1. If 'b2b-control-text' is an Angular component, then verify that it is part of this module.
2. If 'b2b-control-text' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("мпания)" [control]="linkedContractInfoForm.get('StrahovshhikPoPredDogName')"></b2b-control-text>
[ERROR ->]<b2b-control-text [readonly]="true" label="Предыдущий договор (номер)" [control]="linkedContractInfoF")
: Can't bind to 'control' since it isn't a known property of 'b2b-control-select'.
1. If 'b2b-control-select' is an Angular component and it has 'control' input, then verify that it is part of this module.
2. If 'b2b-control-select' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" *ngIf="prolongationList"
label="Порядок пролонгации"
[ERROR ->][control]="b2bForm.get('special_order_prolong_fake')"
[items]="prolongationLis")
: Can't bind to 'items' since it isn't a known property of 'b2b-control-select'.
1. If 'b2b-control-select' is an Angular component and it has 'items' input, then verify that it is part of this module.
2. If 'b2b-control-select' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
[control]="b2bForm.get('special_order_prolong_fake')"
[ERROR ->][items]="prolongationList"
itemId="num"
itemLabel="full")
: 'b2b-control-select' is not a known element:
1. If 'b2b-control-select' is an Angular component, then verify that it is part of this module.
2. If 'b2b-control-select' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("ущий договор (номер)" [control]="linkedContractInfoForm.get('NomerPredDog')"></b2b-control-text>
[ERROR ->]<b2b-control-select *ngIf="prolongationList"
label="Порядок пролонгации"
")
Answer the question
In order to leave comments, you need to log in
It means that some module still didn’t connect somewhere, Angular doesn’t find your component. Is there an export of components from the module?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question