16
コンポーネントは2つのモジュールの宣言の一部です
Ionic 2アプリを作成してみます。イオンサーブを使用してブラウザでアプリを試すか、エミュレータで起動すると、すべて正常に動作します。 しかし、エラーが発生するたびにビルドしようとすると ionic-app-script tast: "build" Error Type AddEvent in "PATH"/add.event.ts is part of the declarations of 2 modules: AppModule in "PATH"/app.modules.ts and AddEvent in "PATH"/add-event.module.ts. Please consider moving AddEvent in "PATH"/add-event.ts to a higher module that imports AppModule in "PATH"/app.module.ts and AddEventModule. You can also creat a new NgModule …