操作系统?
Mac OSX 优胜美地
版本。
angular-cli:1.0.0-beta.21 节点:6.3.0 操作系统:darwin x64
失败给出的日志。(有很多)
导出的变量“slideInPartial”具有或正在使用来自外部模块“/node_modules/@angular/core/src/animation/metadata”的名称“AnimationEntryMetadata”,但无法命名。)
提及任何其他可能有用的细节。
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
}
}
执行命令:
ng serve --aot -p src/tsconfig.aot.json
tsconfig.aot.json 中的任何更改都不会影响任何内容。任何想法或帮助将不胜感激。
谢谢