Apm-rum-angular not works

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.

Sample Project link

My angular env:
npm version is 6.14.8


So I solved the issue.

  1. The polyflile.js needs two imports
import 'core-js/es/reflect';
import 'reflect-metadata'
  1. tsconfig.base.json needs to be modified.
  "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": [

Link to working project.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.