-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular - Uncaught SentryError: Native Client is not available, can't start on native. #193
Comments
Hey, thanks for writing in! You'll have to make sure your |
Here is my sentry version The problem still persist. |
I received this error and assumed, perhaps incorrectly, that it was due to lack of Angular 14 support in this plugin. Once the Angular 14 support ships, I can re-test. |
@lucas-zimerman any ideas? |
Try this, got the same error. It is always the peer that is making trouble, so make sure you remove the "^" from the peer version. "@sentry/angular": "7.1.1",
"@sentry/capacitor": "^0.7.0",
"@sentry/tracing": "7.1.1", |
I got this error on |
Just to make sure, are you facing this issue on the Web or on Mobile? |
@lucas-zimerman Web 😊 Any ETA for that next release? we want to upgrade to angular 14 |
Downgraded to Angular 13 and still have same issue. |
Still an issue with
|
Facing the same issue on Web with
|
Hi, version 0.7.1 got released, could you check if the problem persists? |
You'll need to update @sentry/capacitor but also @sentry/angular to 7.6.0 (the version that got the issues fixed with Angular 14) |
@lucas-zimerman Version |
Ok, I may have found the source of the issue, I'll check what's enabling the Native flag on the Web code tomorrow and hopefully it's just a quick fix to unblock you from using Angular 14. |
@lucas-zimerman Tried it with newer versions, didn't resolve the issue, but also don't think it's related to Angular version in my case, as I'm still on Angular 13. Until I got it wrong, and the Capacitor plugin doesn't recognize the web out of the box, and I should conditionally initialize the Capacitor Sentry on mobile platforms, and Angular Sentry on web. |
I'm also running into this on the web with Angular 12, @sentry/angular 7.6.0, and @sentry/capacitor 0.7.1. |
Update: The latest version still having the same issue. This error happens while running ionic serve. |
@lucas-zimerman any updates? 😬 |
Hi, you were correct :D, getsentry/sentry-javascript#5260 introduced a new call to SetContext and that sets the context before the Capacitor SDK gets initialized, I'll release a PR to fix this new Behavior. |
With the latest version i still have the same issue. This error happens while running ionic serve. |
This is still an issue for me as well: "@sentry/angular": "^7.37.1", |
@tharrington if you run Lines 41 to 43 in 47e2dd1
|
Yes, I checked it is 7.37.1 |
Any update there? |
@lucas-zimerman could you take a look? |
Oh I see @tharrington opened a new one |
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
7.6.0
Framework Version
0.6.1
Link to Sentry event
No response
Steps to Reproduce
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which SDK and version?
Steps to Reproduce
Expected Result
Had been using sentry capacitor plugin for several months.
This issue happens recently and unable to initial sentry service and App at all.
Actual Result
The text was updated successfully, but these errors were encountered: