Skip to content

Angular-cli AOT support. #3299

@compitDanielos

Description

@compitDanielos

OS?

Mac OSX Yosemite

Versions.

angular-cli: 1.0.0-beta.21
node: 6.3.0
os: darwin x64

The log given by the failure.

Exported variable 'slideInPartial' has or is using name 'AnimationEntryMetadata' from external module "/node_modules/@angular/core/src/animation/metadata" but cannot be named.)

Mention any other details that might be useful.

tsconfig.aot.json:

{
  "declaration": false,
  "compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "suppressImplicitAnyIndexErrors": true,
    "pretty": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "noImplicitAny": false,
    "noImplicitReturns": false,
    "noImplicitUseStrict": false,
    "noFallthroughCasesInSwitch": true,
    "noEmitOnError": true,
    "outDir": "./dist/unbundled-aot",
    "types": [
      "node",
      "jasmine"
    ],
    "paths": {
      "angular-cli/*": [ "./packages/angular-cli/*" ],
      "@angular-cli/ast-tools": [ "./packages/ast-tools/src" ],
      "@angular-cli/base-href-webpack": [ "./packages/base-href-webpack/src" ],
      "@ngtools/webpack": [ "./packages/webpack/src" ]
    }
  },
  "exclude": [
    "node_modules",
    "dist",
    "packages/angular-cli/blueprints/*/files/**/*",
    "dist/**/*",
    "node_modules/**/*",
    "tmp/**/*"
  ],
  "angularCompilerOptions": {
    "genDir": "aot",
    "skipMetadataEmit": true
  }
}

Execution command:
ng serve --aot -p src/tsconfig.aot.json

Any changes in tsconfig.aot.json dose not affect anything.
Any Idea or help would be appreciated.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions