Please consider moving Page to a higher module

I’ve imported my page ForgotPasswordPage in app.module.ts

import { ForgotPasswordPage} from '../pages/forgot-password/forgot-password';
@NgModule({
  declarations: [
    MyApp,
    HomePage,
    RegisterPage,
    LoginPage,
    LocationPage,
    NotificationPage,
    EditinfoPage,
    SlidesPage,
    JobPage,
    ChatBoxPage,
    JobDetailPage,
    AppliedPage,
    FailedPage,
    ForgotPasswordPage
    SavedPage,
  ],

I’m trying to open the page using URL:

http://localhost:8100/#/password-reset/

This is from ForgotPasswordPage

@IonicPage({
  name: 'forgot password',
  segment: 'password-reset'
})

When I’m trying to navigate to this page from another using navctrl.push I’m able to redirect to that page without any error. But when trying to navigate to that page through URL(http://localhost:8100/#/password-reset/
) I’m getting an error as

ERROR Error: Uncaught (in promise): Error: Type ForgotPasswordPage is part of the declarations of 2 modules: AppModule and ForgotPasswordPageModule! Please consider moving ForgotPasswordPage to a higher module that imports AppModule and ForgotPasswordPageModule. You can also create a new NgModule that exports and includes ForgotPasswordPage then import that NgModule in AppModule and ForgotPasswordPageModule.
Error: Type ForgotPasswordPage is part of the declarations of 2 modules: AppModule and ForgotPasswordPageModule! Please consider moving ForgotPasswordPage to a higher module that imports AppModule and ForgotPasswordPageModule. You can also create a new NgModule that exports and includes ForgotPasswordPage then import that NgModule in AppModule and ForgotPasswordPageModule.

Same answer as your other thread on the exact same topic.