Cannot find module Cannot find module '..basic/basic'

Someone tell me the fix of my error.

Cannot find module ‘…basic/basic’. in home.module.ts
Cannot find module ‘…advanced/advanced’. in home.module.ts
Cannot find module ‘…basic/basic’. in home.ts
Cannot find module ‘…advanced/advanced’. in home.ts

I am trying to implement slides when opening app in new and navigate to home page.

Here is my code path,

Once you lazy load the components, there’s no need to import it in your home.module.ts/home.ts. To make it work, try the following steps:

1: Remove import { AdvancedPage } from '..advanced/advanced' and import { BasicPage } from '..basic/basic' from home.module.ts and home.ts

2: Replace to:

rootPage:any = ‘BasicPage’;

 this.pages = [
      { pageTitle: 'SQL Basics', pageName: 'BasicPage' , icon: 'home'},
      { pageTitle: 'SQL Advanced', pageName: 'AdvancedPage', icon: 'contacts' }
    ];

3: Be happy.

ohhh!!..Thanks for clarifying me…it working now…Thank you

Glad to help! :slight_smile: