Here is the full error msg:
C:\Development\angular2\iinsight>ionic cordova build android --prod
Running app-scripts build: --prod --iscordovaserve --externalIpRequired --nobrowser
[08:14:52] build prod started ...
[08:14:52] clean started ...
[08:14:52] clean finished in 3 ms
[08:14:52] copy started ...
[08:14:52] ngc started ...
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may
be out of date.
Error: Type SocialAnxietySeeDoctorPage in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.ts is part of the declarations of 2 modules: AppModule in C:/Development/angular2/iinsight/src/app/app.module.ts and SocialAnxietySeeDoctorPageModule in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.module.ts! Please consider moving SocialAnxietySeeDoctorPage in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.ts to a higher module that imports AppModule in C:/Development/angular2/iinsight/src/app/app.module.ts and SocialAnxietySeeDoctorPageModule in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.module.ts. You can also create a new NgModule that exports and includes SocialAnxietySeeDoctorPage in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.ts then import that NgModule in AppModule in C:/Development/angular2/iinsight/src/app/app.module.ts and SocialAnxietySeeDoctorPageModule in C:/Development/angular2/iinsight/src/pages/social-anxiety-see-doctor/social-anxiety-see-doctor.module.ts.