I try to setup simple angular project with apm. Biut I got the error ERROR in Cannot read property '0' of undefined on ng b or ng s.
My angular env:
npm version is 6.14.8
I try to setup simple angular project with apm. Biut I got the error ERROR in Cannot read property '0' of undefined on ng b or ng s.
My angular env:
npm version is 6.14.8
So I solved the issue.
import 'core-js/es/reflect';
import 'reflect-metadata'
{
"angularCompilerOptions": {
"enableIvy": false
},
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es5",
"module": "esnext",
"typeRoots": ["node_modules/@types"],
"lib": [
"es2018",
"dom"
]
}
}
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.