solodynamo / ng2-search-filter

Angular 2 / Angular 4 / Angular 5 custom pipe npm module to make a search filter on any input, 🔥 1Million+ downloads
https://www.npmjs.com/package/ng2-search-filter
MIT License
149 stars 40 forks source link

Error: Type Ng2SearchPipeModule does not have 'ɵmod' property #75

Closed w-mazed closed 2 years ago

w-mazed commented 2 years ago

I've got this error : ERROR Error: Uncaught (in promise): Error: Type Ng2SearchPipeModule does not have 'ɵmod' property.

Even if I loaded the module correctelly (I guess):

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { IonicModule } from '@ionic/angular';
import { Ng2SearchPipeModule } from 'ng2-search-filter';

import { HomePageRoutingModule } from './home-routing.module';

import { HomePage } from './home.page';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        IonicModule,
        HomePageRoutingModule,
        Ng2SearchPipeModule,
    ],
    providers: [
    ],
    declarations: [
        HomePage,
    ],
})
export class HomePageModule {}

Any idea about this issue ?

w-mazed commented 2 years ago

Sorry I installed new packages and I guess that caused the error, after reopening the shell and serve the app, no errors appears. Sorry :)