noComponentFactoryError

ERROR Error: No component factory found for Edit2Component. Did you add it to @NgModule.entryComponents?at noComponentFactoryError (core.js:9877:1)

原文链接:https://www.longkui.site/error/no-component/4843/ angular项目调用组件的时候开始报这个错误,大概的意思是NgModule中没有Edit2Component这个组件。 解决方法: 我们找到组件的xxxx.module.ts。在entry ......
共1篇  :1/1页 首页上一页1下一页尾页