Tabs Routing Module Error

I am new to ionic and I am trying to display a page within a tab, but when I run ionic serve I get the following error:

core.js:9110 ERROR Error: Uncaught (in promise): Error: Cannot find module 'src/app/pages/home/home.module'
Error: Cannot find module 'src/app/pages/home/home.module'

In my TabPage:

I tried changing loadChildren to component in my tab-routing.module.ts but it doesn’t work. Also place declarations: [NavigationPage] but it doesn’t work either.

Thank you

1 Like

@FredyVzq! You may find your solution for this error in stackoverflow here:

1 Like

This also allows you to handle errors before routing to the component.