Problem with "declarations of 2 modules"

Ok, so as @AaronSterling inferred if you delete a page’s module then you need to add it to your entryComponents[]:

  entryComponents: [
    MyApp,
    HomePage,
    ListPage,
    WalkieTalkiePage,
    StoryLibraryPage
  ],

For example:

If you want to use Lazy Loading, don’t delete the page’s module just remove the page from your entryComponents[]:

  entryComponents: [
    MyApp
  ],

And, reference your pages in quotes:

  public rootPage: any = 'HomePage';

  ...  

  this.navCtrl.push('WalkieTalkiePage');

For example:

1 Like