Navigation between pages doesn't work

Hello all, So i am trying to navigate to a newly created page on my ionic app, “Dashboard.” I, however, always keep getting this runtime error: “No component factory found for DashboardPage. Did you add it to @NgModule.entryComponents?”

I understand this error and I made sure the page (class) is added to both declarations and entryComponents. I, however, keep getting the same error. Can you please help ? Thanks!

Here is my app.module

import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';

import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { DashboardPage } from '../pages/dashboard/dashboard';
NgModule({
  declarations: [
    MyApp,
    HomePage,
    DashboardPage
  ],
  imports: [
    BrowserModule,
    AngularFireModule,
    AngularFireAuthModule,
    AngularFireModule.initializeApp(config),
    AngularFirestoreModule,
    IonicModule.forRoot(MyApp)
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    HomePage,
    DashboardPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler},
    { provide: FirestoreSettingsToken, useValue: {} },
  ]
})
export class AppModule {}

AJ

This comment about how to properly declare lazy loaded and non-lazy loaded pages might help you: