Component is part of the declaration of 2 modules

前端 未结 16 754
我在风中等你
我在风中等你 2020-12-04 06:44

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

16条回答
  •  长情又很酷
    2020-12-04 07:26

    Had same problem. Just make sure to remove every occurrence of module in "declarations" but AppModule.

    Worked for me.

提交回复
热议问题