Pipes not work in RC3


#1

I am using the command to generate pipes. I create a simple pipe called Test and import it into the app.module.ts

import { Test } from '../pipes/test';
@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    FriendsPage,
    HomePage,
    LoginPage,
    SettingsPage,
    ProfilePage,
    TabsPage,
    ExercisesPage,
    SignupPage,
    ResetPasswordPage,
    PrPage,
    AddexercisePage,
    FriendDetails,
    NotebookPage,
    TrainingDetailsPage,
    SessionDetailsPage,
    AddTrainingPage,
    AddSessionPage,
    Test
  ],
...
entryComponents: [
    MyApp,
    AboutPage,
    ContactPage,
    FriendsPage,
    HomePage,
    LoginPage,
    SettingsPage,
    ProfilePage,
    TabsPage,
    ExercisesPage,
    SignupPage,
    ResetPasswordPage,
    PrPage,
    AddexercisePage,
    FriendDetails,
    NotebookPage,
    TrainingDetailsPage,
    SessionDetailsPage,
    AddTrainingPage,
    AddSessionPage,
    Test
...

and when i buils o run serve i can see the next bugs

“Component Test is not part of any NgModule or the module has not been imported into your module.”

can anybody help me? Thanks


#2

The pipe needs to be only in declaration array and not entrycomponent. entrycomponent is for navigation