title: Angular 7 custom pipe not found
body: <p>I've searched for hours on stackoverflow, found answers that works for other but for the life of me, I can't get it to work.  I don't know what else to do, driving me crazy.  </p>
  
  <p>filter.pipe.ts</p>
  
  <pre><code>import { Pipe, PipeTransform } from '@angular/core';
  @Pipe({
    name: 'filter'
  })
  export class FilterPipe implements PipeTransform {
  transform(items: any[], searchText: string): any[] {
   ........
  }
  </code></pre>
  
  <p>shared-pipe.module.ts</p>
  
  <pre><code>import { NgModule } from '@angular/core';
  import { CommonModule } from '@angular/common';
  import { FilterPipe } from './filter.pipe';
  
  @NgModule({
    declarations: [
      FilterPipe
    ],
    imports: [
      CommonModule
    ],
    exports: [
      FilterPipe
    ]
  })
  export class SharedPipeModule { }
  </code></pre>
  
  <p>search-issue.module.ts</p>
  
  <pre><code>import { NgModule } from '@angular/core';
  import { CommonModule } from '@angular/common';
  import { SharedPipeModule } from '../../../../pipes/shared-pipe.module';
  import { SearchIssueComponent } from './search-issue.component';
  
  @NgModule({
    declarations: [
    ],
    imports: [
      CommonModule,
      SharedPipeModule,
      SearchIssueComponent
    ]
  })
  export class SearchIssueModule { }
  </code></pre>
  
  <p>search-issue.component.html</p>
  
  <pre><code>  &lt;ul *ngFor="let ticket of tickets | filter: searchText"&gt;
                                        ^^^^^^^
  </code></pre>
  
  <p>filter pipe not found here.  </p>
  
  <p>I've tried anything and everything I can think of but nothing works.  All answers on stackoverflow the codes above should work, but it doesn't for me.  </p>
  
  <p>I've tried to import filter.pipe.ts directly into the search-issue.module.ts and app.module.ts, with same results.</p>
  
  <p>Any thoughts?</p>
  
  <p>Much appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/b4U7f.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b4U7f.jpg" alt="enter image description here"></a></p>