ERROR in No NgModule metadata found for 'AppModule' Angular 10

I am getting [ng] ERROR while ionic serve in No NgModule metadata found for ‘AppModule’ this error. I searched a lot but not getting exact solution. I will be highly thankful if someone give me any idea or any help. I am sharing IONIC and other environment.

Ionic Framework               : @ionic/angular 5.3.3
@angular-devkit/build-angular : 0.1001.2
@angular-devkit/schematics    : 10.0.8
@angular/cli                  : 10.1.2
@ionic/angular-toolkit        : 2.3.3

Utility:
cordova-res : not installed
native-run  : not installed

System:
NodeJS : v12.18.4 (C:\Program Files\nodejs\node.exe)
npm    : 6.14.6
OS     : Windows 10

My app.module.ts file code

import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';

import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';

import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';

@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [
    BrowserModule,
    IonicModule.forRoot(),
    AppRoutingModule
  ],
  providers: [
    StatusBar,
    SplashScreen,
    { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

Can anyone suggest where i am wrong as i globally installed latest version of IONIC, CORDOVA, NODE of all. I am trying from past 2 days but not succeed. I am attaching screenshot pls find.

Thanks in ADVANCE.

What does your console on the developer tools show as the error… Mind you paste the code output not picture…

@alexmigwi

here is console screenshot. there is nothing error. its giving 404 error like Cannot GET /

Check your network tab, there may be a request that errors, if you are making http calls. Am taking a wild guess here, this error can be caused by a multitude of issues.
But you could also step through your code using the debugger and you’ll be able to find the culprit.

there is nothing in network also. Everything is added from fresh setup.
Thanks

are you able to solve this issue??? I am getting same issue when I upgrade.
If you did, could you please tell me how did you fix?
thank you