How to add Sentry to Aurelia project?

I tried it as it written in this guide https://docs.sentry.io/platforms/javascript/ but it doesn’t work correctly at all. I also tried this https://www.npmjs.com/package/aurelia-sentry with the same effect. Sentry doesn`t work as a singleton I think. It captures errors only in the file I use Sentry.init(). And when I try to capture errors in another component it gets either 403 or 413 errors. Like it wasn’t inited. I tried the version for Angular and everything worked fine.
Does anyone know how to fix it?

Khmm… looks like it does not care…
did you try to init it before configure function in main?
pseudo code:

Sentry.init()

  export function configure(aurelia) {
    aurelia.use
      .standardConfiguration()
      .developmentLogging();
  
    aurelia.start().then(() => aurelia.setRoot());
  }

Yes. I do it like just like this. I also tried to install Sentry either through NPM or CDN.