Herodevs Llc

0 views
Skip to first unread message

Daiana Parthemore

unread,
Aug 5, 2024, 1:31:15 AM8/5/24
to sembscorcoclink
Myangular project is currently running in Angular 8 and I use HeroDevs\Hero-Loader ( @herodevs/hero-loader/v/2.0.1) for lazy loading of modules for a page containing tabs. Tabs data are lazy loaded whenever user clicks on a tab. Now I am trying to upgrade the Angular to the latest Angular 14 step-by-step. So while migrating to Angular 9 ng serve fails and I get the below error.

For anyone who faces the same issue, I fixed this issue by replacing the HeroDevs component. The issue was with the npm package Herodevs which was deprecated from Angular 9 because angular has exposed the loading of component dynamically. This meant HeroDevs is not needed. Hence I created a custom module loader to replace HeroDevs component. That fixed all the issues.

3a8082e126
Reply all
Reply to author
Forward
0 new messages