ERROR Error: Uncaught (in promise): Error: Type LoginPage is part of the declarations of 2 modules: AppModule and LoginPageModule! Please consider moving LoginPage to a higher module that imports AppModule and LoginPageModule. You can also create a new NgModule that exports and includes LoginPage then import that NgModule in AppModule and LoginPageModule. Error: Type LoginPage is part of the declarations of 2 modules: AppModule and LoginPageModule! Please consider moving LoginPage to a higher module that imports AppModule and LoginPageModule. You can also create a new NgModule that exports and includes LoginPage then import that NgModule in AppModule and LoginPageModule.
I am trying to build an ionic 4 application for login, everything works fine when i am running the home page of the application, but when i try to run my generated pages of login, there isn't the error in the file but the output page on the browser is blank, and when i check the console of the browser, the above error is occured.enter image description hereenter image description here