@Sashqa

Ошибка при сборке проекта на angular 7?

Суть вот в чем, все отлично работало. Нужно было отрефакторить и переместить комненты по другому пути.
Перенес, все пути поменял.
Компоненты подключил в модуле и сам модуль подключил в главном app.module

Но теперь при сборке вылетают ошибки, куда копать?

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="Порядок пролонгации"
    ")
  • Вопрос задан
  • 249 просмотров
Решения вопроса 1
Xuxicheta
@Xuxicheta Куратор тега Angular
инженер
Значит какой-то модуль все же где-то не подключил, ангуляр не находит твой компонент. Экспорт компонентов из модуля есть?
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы