You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: node_modules/@sentry/angular/build/types/tracing.d.ts:51:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (@sentry/angular) which declares TraceModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
The text was updated successfully, but these errors were encountered:
I believe this is very much related to #3282 which resulted in #4644. We recently merged the compiler change into 7.x and it was released with @sentry/[email protected]. So you're in luck - you could just check out the beta version and TraceModule should work for you. Actually, it would be great to get some feedback on the v7 Angular SDK.
If you need to wait for the stable version of v7, it shouldn't take too long (famous last words lol).
Just out of curiosity, which Angular version are you using?
Small Update: v7 was just released, so you're safe to update to a stable version with the Angular fix once you have time.
(Angular 12 should work with our Angular SDK)
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/angular
SDK Version
6.19.7
Framework Version
6.19.7
Link to Sentry event
No response
Steps to Reproduce
Install TraceModule like this:
Expected Result
No Error.
Actual Result
Error:
The text was updated successfully, but these errors were encountered: