I try to build an ionic 2 app. When I try the app in the browser with ionic serve or launch it on an emulator everything works fine.
But when I try to build it every
Had same problem. Just make sure to remove every occurrence of module in "declarations" but AppModule.
Worked for me.