/pwa添加到项目中。ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }), 在app.module.ts中导致问题been processed correctly by ngcc, or is not compatible with AngularIvy.export declare class ServiceWorkerModule {
我的angular 11项目是使用Ivy编译器编译的。我的库正在使用View Engine编译器。ng serve命令使用ngcc将常春藤特定的附加组件添加到库中(dist中的构建工件) 然而,这种方法不再适用于新的Angular 11项目。重新启动项目的ng serve会导致:Tried to overwrite *.component.d.ts.__ivy_ngcc_bak with an ngcc back up file, which is disallowed.一直在运行。在我
ERROR in D:/AffiliateShop/angular8-springboot-client/node_modules/@angular/platform-browser/__ivy_ngccin D:/AffiliateShop/angular8-springboot-client/node_modules/@angular/common/__ivy_ng