Has anyone been able to use @elastic/apm-rum-angular with aot?

Hi Azuka,

Thanks for trying out @elastic/apm-rum-angular and providing the feedback. As you have mentioned we just released the package and its not really super stable and we would appreciate the feedback from the community.

  1. Regarding the Error, I am not sure if the polyfills.ts when you set up a project via Angular CLI is set correctly. I just tested out the rum-angular package along with angular router and it works without any issues https://stackblitz.com/edit/angular-router-basic-example-grz785. I guess it might be due to the missing corejs/es7/reflect polyfill, if you can provide us with a test repo, It would be really great.

  2. We have not published the typings for our packages since we have not prioritised it at the moment, You can track the issue here https://github.com/elastic/apm-agent-rum-js/issues/70.

  3. Minor Error: Could be a bug as you have mentioned, I will test it out and post here with more details.

Thanks,
Vignesh

1 Like