mohammedzamakhan / ngx-loadable

⏳ Simple Lazy Loading for Non Routable Angular Modules
https://mohammedzamakhan.github.io/ngx-loadable/
MIT License
164 stars 22 forks source link

Angular 13 support #63

Open hugoebarboza opened 2 years ago

hugoebarboza commented 2 years ago

After updating my app to Angular 13 I got the following issues.

Error: node_modules/ngx-loadable/lib/loadable.service.d.ts:1:43 - error TS2305: Module '"@angular/core"' has no exported member 'NgModuleFactoryLoader'.

qliqdev commented 2 years ago

same for me

Error: node_modules/@nguniversal/module-map-ngfactory-loader/src/module-map-ngfactory-loader.d.ts:8:10 - error TS2305: Module '"@angular/core"' has no exported member 'NgModuleFactoryLoader'.

8 import { NgModuleFactoryLoader, InjectionToken, NgModuleFactory, Compiler } from '@angular/core';
jalees-rafeeq commented 2 years ago

Same here, any workaround for that for angular 13?

kuntabruno commented 2 years ago

Same here, any workaround guys?

sksushil999 commented 2 years ago

same issue I am facing, after updating to NG-13, it stop working

fayelho commented 2 years ago

Hello,

I had the same issue, I solved that by deleting the file "module-map-ngfactory-loader.d" located in :
ClientApp\node_modules\@nguniversal\module-map-ngfactory-loader\src

and the delete the reference to this module in the index.d.Ts file in the same directory

Zeeshan658 commented 6 months ago

I remove ModuleMapLoaderModule from the app.module.ts and //export { provideModuleMap } from '@nguniversal/module-map-ngfactory-loader'; from main.server.ts and it's working fine.