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
{{ message }}
Repository navigation
Ionic setup fails out of the box / Compile error: Cannot redeclare block-scoped variable __DEBUG_BUILD__ #394
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Thanks, but we need to use the 0.13 version because it fixes the issue where iOS is initialized on a background thread, which causes our app to crash. So we have to use that version (or at least get to the point where we can test it to see if it works).
I've uninstalled @sentry/angular-ivy and just referencing
import * as SentryAngular from '@sentry/angular';
instead of
import * as SentryAngular from '@sentry/angular-ivy';
And that compiles okay. Not sure what the effect of that is though and if that causes any other problems.
Activity
lforst commentedon Jun 22, 2023
This needs to be fixed upstream. #249
g-apparence commentedon Jun 27, 2023
Adding "@sentry/types": "7.56.0" to the package.json fixed it for me.
lucas-zimerman commentedon Jul 7, 2023
You need to alter your package.json
to
Sentry Capacitor has conflicts if a sibling package reference has a caret symbol.
github-actions commentedon Jul 29, 2023
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it
Status: BacklogorStatus: In Progress, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
zVynx commentedon Sep 11, 2023
I cant fix the issue my package.json looks like this:
i am using ionic 7.3.2 and capacitore core ^5.0.0 has anyone found a fix for this Bug?
zVynx commentedon Sep 11, 2023
Nvm I got it working using
"@sentry/angular-ivy": "7.54.0",
"@sentry/capacitor": "0.12.1",
Sampath-Lokuge commentedon Sep 13, 2023
Still the same error with the latest versions:
package.json
BillBu commentedon Sep 26, 2023
Previously working but now reintroduced with the following in package.json:
"@sentry/angular-ivy": "^7.71.0",
"@sentry/capacitor": "^0.13.0-beta.1",
Sampath-Lokuge commentedon Sep 26, 2023
@BillBu Until they'll fix this you can try this:
BillBu commentedon Sep 26, 2023
Thanks, but we need to use the 0.13 version because it fixes the issue where iOS is initialized on a background thread, which causes our app to crash. So we have to use that version (or at least get to the point where we can test it to see if it works).
I've uninstalled @sentry/angular-ivy and just referencing
import * as SentryAngular from '@sentry/angular';
instead of
import * as SentryAngular from '@sentry/angular-ivy';
And that compiles okay. Not sure what the effect of that is though and if that causes any other problems.
Sampath-Lokuge commentedon Sep 26, 2023
@BillBu
The problem is this:
Ref: https://www.npmjs.com/package/@sentry/angular#angular-version-compatibility
BillBu commentedon Sep 26, 2023
Thanks, having to revert to 0.12 until this DEBUG_BUILD issue is fixed for 0.13.
lucas-zimerman commentedon Oct 13, 2023
If you still are having this issue on the next release please let us know, for the time being I am closing this issue, thanks for opening it!