Open siewer opened 4 years ago
same here.
please check this commit https://github.com/akveo/ngx-admin/commit/fbbf94448bf92e9bbca8182e27bcf7c7c78e4311
some changes are done for angular 9.
same issue arises at my end then i figured out my custom module declaration, then i fixed. now working fine.
before
export class ThemeModule {
static forRoot(): ModuleWithProviders {
return <ModuleWithProviders>{
ngModule: ThemeModule,
After
export class ThemeModule {
static forRoot(): ModuleWithProviders <ThemeModule> {
return {
ngModule: ThemeModule,
need to remove ModuleWithProviders.
so please find your custom module declaration which are used while importing ngModule. in your case find module which place at 3rd position/index, then go to declaration
Please check and confirm the same
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior: I am trying to migrate from ngx-admin 4 to 5. After making changes to packages.json I have compilation errors:
Expected behavior: Application will start in dev mode properly withour errors
Steps to reproduce: hopefully use my package.json and ng start:dev
Related code: packages.json:
}
Other information:
npm, node, OS, Browser
node
npm