Skip to content

The Angular AOT flag should not be supported in Preview #4240

Open
@DimitarTachev

Description

@DimitarTachev

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.1.0

To Reproduce

  1. tns create ngApp --ng
  2. tns preview --bundle --env.aot
  3. a runtime exception will be thrown

Expected behavior
The AOT flag should not be valid for the preview command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugto-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified further

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions