Angular ';剑道文本框';不是已知元素

Angular ';剑道文本框';不是已知元素,angular,kendo-ui,Angular,Kendo Ui,我从webside添加了这段代码,但出现了错误。我还尝试了stackoverflow的其他解决方案,如。我的角度是8 <kendo-textbox></kendo-textbox> 但我得到了这个错误- ERROR Error: Uncaught (in promise): Error: Template parse errors: 'kendo-textbox' is not a known element: 1. If 'kendo-textbox' is an A

我从webside添加了这段代码,但出现了错误。我还尝试了stackoverflow的其他解决方案,如。我的角度是8

<kendo-textbox></kendo-textbox>
但我得到了这个错误-

ERROR Error: Uncaught (in promise): Error: Template parse errors:
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
Error: Template parse errors:
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
    at syntaxError (compiler.js:2175)
    at TemplateParser.parse (compiler.js:11143)
    at JitCompiler._parseTemplate (compiler.js:25476)
    at JitCompiler._compileTemplate (compiler.js:25464)
    at compiler.js:25408
    at Set.forEach (<anonymous>)
    at JitCompiler._compileComponents (compiler.js:25408)
    at compiler.js:25321
    at Object.then (compiler.js:2166)
    at JitCompiler._compileModuleAndComponents (compiler.js:25320)
    at resolvePromise (zone-evergreen.js:797)
    at resolvePromise (zone-evergreen.js:754)
    at zone-evergreen.js:858
    at ZoneDelegate.invokeTask (zone-evergreen.js:391)
    at Object.onInvokeTask (core.js:30873)
    at ZoneDelegate.invokeTask (zone-evergreen.js:390)
    at Zone.runTask (zone-evergreen.js:168)
    at drainMicroTaskQueue (zone-evergreen.js:559)
    at invokeTask (zone-evergreen.js:469)
    at ZoneTask.invoke (zone-evergreen.js:454)
错误错误:未捕获(承诺中):错误:模板分析错误:
“剑道文本框”不是已知元素:
1.如果“剑道文本框”是一个角度组件,则验证它是否是此模块的一部分。
2.如果“kendo textbox”是一个Web组件,则将“CUSTOM_ELEMENTS_SCHEMA”添加到此组件的“@NgModule.schemas”以抑制此消息。("
[错误->]
]

当您没有在正确的位置导入模块,或者导入在共享模块上但未导出时,通常会发生这种情况。当您没有在正确的位置导入模块,或者导入在共享模块上但未导出时,通常会发生这种情况。
ERROR Error: Uncaught (in promise): Error: Template parse errors:
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
Error: Template parse errors:
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
'kendo-textbox' is not a known element:
1. If 'kendo-textbox' is an Angular component, then verify that it is part of this module.
2. If 'kendo-textbox' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
            </div>
            <div class="p-col-12">
                [ERROR ->]<kendo-textbox></kendo-textbox>
                <input type="text" pInputText placeholder="Employee "): ng:///Pickermodule/SingleEmployeePickerComponent.html@10:16
    at syntaxError (compiler.js:2175)
    at TemplateParser.parse (compiler.js:11143)
    at JitCompiler._parseTemplate (compiler.js:25476)
    at JitCompiler._compileTemplate (compiler.js:25464)
    at compiler.js:25408
    at Set.forEach (<anonymous>)
    at JitCompiler._compileComponents (compiler.js:25408)
    at compiler.js:25321
    at Object.then (compiler.js:2166)
    at JitCompiler._compileModuleAndComponents (compiler.js:25320)
    at resolvePromise (zone-evergreen.js:797)
    at resolvePromise (zone-evergreen.js:754)
    at zone-evergreen.js:858
    at ZoneDelegate.invokeTask (zone-evergreen.js:391)
    at Object.onInvokeTask (core.js:30873)
    at ZoneDelegate.invokeTask (zone-evergreen.js:390)
    at Zone.runTask (zone-evergreen.js:168)
    at drainMicroTaskQueue (zone-evergreen.js:559)
    at invokeTask (zone-evergreen.js:469)
    at ZoneTask.invoke (zone-evergreen.js:454)