Ionic 2 Could not resolve './app.module.ngfactory' amazon ec2


#1

Every thing is working fine on localhost but when i uploading on ec2 it is showing Could not resolve ‘./app.module.ngfactory’ from /home/ec2-user/class_hours_client2/.tmp/app/main.prod.ts
I am using latest:
node: v6.3.1
npm: 3.10.3
cordova: 6.3.1
ionic: 2.1.4