Skip to content

AppComponent is part of the declaration of 2 modules when building with aot #140

@gummibjorn

Description

@gummibjorn

When building with tns run android --bundle --env.aot aot compilation fails with:

AppComponent in app.component.tns.ts is part of the declarations of 2 modules: AppModule in app.module.ts and AppModule in app.module.tns.ts!

package.json:

    "@angular-devkit/build-angular": "^0.8.4",
    "@angular-devkit/core": "^0.8.4",
    "@angular/cli": "6.1.0",
    "@angular/compiler-cli": "6.1.0",
    "@nativescript/schematics": "^0.3.1"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions