Error on angular 12 after add new Replay to integrations array
Closed this issue · 2 comments
labsforge commented
Environment
"@angular/core": "12.1.2",
node v15.14.0
npm 7.7.6
What version are you running? Etc.
"@sentry/angular": "7.19.0",
"@sentry/replay": "0.6.13",
"@sentry/tracing": "7.19.0",
Steps to Reproduce
- Followed the tutorial, I added the
new BrowserTracing
plugin and got my first report, then I addednew Replay
Expected Result
No errors on compile.
Actual Result
labsforge commented
Maybe related to microsoft/TypeScript#41883
Reading the tread I was able to get it run with:
const sentry = require('@sentry/replay');
new sentry.Replay({....
labsforge commented
Too bad this don't work on electron apps or apps served by non-public urls.