Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Build components error #7

Open
brainpascal opened this issue Dec 10, 2020 · 0 comments
Open

Ionic Build components error #7

brainpascal opened this issue Dec 10, 2020 · 0 comments

Comments

@brainpascal
Copy link

When I try to build with ioni:

ionic build --prod

y get this error:

ERROR in : Type AppointmentDetailPage in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.page.ts is part of the declarations of 2 modules: AppointmentDetailPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.module.ts and DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts! Please consider moving AppointmentDetailPage in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.page.ts to a higher module that imports AppointmentDetailPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.module.ts and DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts. You can also create a new NgModule that exports and includes AppointmentDetailPage in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.page.ts then import that NgModule in AppointmentDetailPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-detail/appointment-detail.module.ts and DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts.

: Type ReviewPage in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.page.ts is part of the declarations of 2 modules: AppointmentViewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-view/appointment-view.module.ts and ReviewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.module.ts! Please consider moving ReviewPage in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.page.ts to a higher module that imports AppointmentViewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-view/appointment-view.module.ts and ReviewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.module.ts. You can also create a new NgModule that exports and includes ReviewPage in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.page.ts then import that NgModule in AppointmentViewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/appointment-view/appointment-view.module.ts and ReviewPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review/review.module.ts.

: Type ReviewDetailsPage in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.page.ts is part of the declarations of 2 modules: DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts and ReviewDetailsPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.module.ts! Please consider moving ReviewDetailsPage in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.page.ts to a higher module that imports DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts and ReviewDetailsPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.module.ts. You can also create a new NgModule that exports and includes ReviewDetailsPage in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.page.ts then import that NgModule in DoctorPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/doctor/doctor.module.ts and ReviewDetailsPageModule in D:/Overo/Medicina/app-turnos/src/app/pages/review-details/review-details.module.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant