I am updating my project, which has a dependency to ng2-completer, to Angular 9 and I've got the following error:
ERROR in node_modules/ng2-completer/src/modules/ng2-completer.module.d.ts:2:22 - error NG6002: Appears in the NgModule.imports of LayoutModule, but could not be resolved to an NgModule class
2 export declare class Ng2CompleterModule {
LayoutModule, which import the Ng2CompleterModule, look like this:
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { FlexLayoutModule } from '@angular/flex-layout';
import { Ng2CompleterModule } from 'ng2-completer';
import { MaterialModule } from '@shared/material/material.module';
import { LayoutComponent } from './layout.component';
import { LayoutRoutingModule } from './layout.routing';
@NgModule({
declarations: [
LayoutComponent
],
imports: [
CommonModule,
LayoutRoutingModule,
MaterialModule,
FormsModule,
Ng2CompleterModule,
FlexLayoutModule,
]
})
export class LayoutModule { }
Hello,
I am updating my project, which has a dependency to ng2-completer, to Angular 9 and I've got the following error:
LayoutModule, which import the Ng2CompleterModule, look like this:
I am using the
3.0.3
version of Ng2Completer.Do you have any ideas ?