Typescript error when building app apk

Please what does this mean?

[01:47:48] typescript error
Type IncidentsPage in C:/Users/Infonet/election/src/pages/incidents/incidents.ts is part of the declarations
of 2 modules: AppModule in C:/Users/Infonet/election/src/app/app.module.ts and IncidentsPageModule in
C:/Users/Infonet/election/src/pages/incidents/incidents.module.ts! Please consider moving IncidentsPage in
C:/Users/Infonet/election/src/pages/incidents/incidents.ts to a higher module that imports AppModule in
C:/Users/Infonet/election/src/app/app.module.ts and IncidentsPageModule in
C:/Users/Infonet/election/src/pages/incidents/incidents.module.ts. You can also create a new NgModule that
exports and includes IncidentsPage in C:/Users/Infonet/election/src/pages/incidents/incidents.ts then import
that NgModule in AppModule in C:/Users/Infonet/election/src/app/app.module.ts and IncidentsPageModule in
C:/Users/Infonet/election/src/pages/incidents/incidents.module.ts.

This error is saying that IncidentsPage is declared in both the AppModule and the IncidentsPageModule, but it can only belong to one module. You probably want to remove the declaration for IncidentsPage in your AppModule.

Hello Mr. Joe,

Thanks for the reply, I so appreciate it.

I was able to solve it by deleting the user.module.ts and also for others.

Working fine now.