Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

build getting error: ERROR in Ng2SearchPipeModule is not an NgModule #4

Closed
eduzera opened this issue Mar 18, 2017 · 7 comments
Closed

Comments

@eduzera
Copy link

eduzera commented Mar 18, 2017

Hi,

I added the ng2-search-filter to my project. But on building process i getting this message:

ERROR in Ng2SearchPipeModule is not an NgModule

node version: v6.9.5
angular CLI: 1.0.0-beta.31

Some example how i used:

import { Ng2SearchPipeModule } from 'ng2-search-filter';

@NgModule({
  imports: [
    ...,
    Ng2SearchPipeModule
  ],
  ...

Someone got this error before?

Thanks

@solodynamo
Copy link
Owner

Hey ,
No one experienced this issue ,But there are some issues with angular-cli and this thread might help you angular/angular-cli#3426 . Hope this helps.

@eduzera
Copy link
Author

eduzera commented Mar 20, 2017

Ok, i can't solve the problem.

I didn't have enough time, so i imported the pipe code to my project and it's worked.

It's not the right way, but i needed to to that.

Thanks @solodynamo for your attention.

@eduzera eduzera closed this as completed Mar 20, 2017
@joshuakwaite
Copy link

joshuakwaite commented May 30, 2017

I'm experiencing the same issue with the latest update. @solodynamo

@AbGrS
Copy link

AbGrS commented Jun 2, 2017

me too

@solodynamo
Copy link
Owner

This issue has been fixed in latest release i.e version: 0.3.1.

@subhranshu00
Copy link

Just run the ng serve command in terminal window, the error will not appear again.

@hariomjee
Copy link

amazing...really this works in my system.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants