当我从v8迁移到v11时,我遇到了项目的entryComponents问题。目前,我需要禁用常青藤构建,因为我需要坚持使用PrimeNG v8组件,并且假设如果使用旧的构建引擎运行11,仍然需要entryComponents数组。但是每当我触发一个嵌入了entryComponent的对话框时,我就会得到:
Error: No component factory found for DynamicDialogComponent.error中的这个组件不是我的entryComponents之
我正在运行specs,并在浏览器窗口中注意到以下错误
zone.js:2990 Access to XMLHttpRequest at 'ng:///DynamicTestModule/NewPracticeQuestionComponent_Host.ngfactory.js' from origin 'http://localhost:9876' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data,