mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 23:41:22 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Sentry SDK 54 Compatibility Workaround
Issue
Sentry React Native SDK (v6.20.0 and even v7.1.0) is incompatible with Expo SDK 54's Metro bundler (metro@0.83).
The error occurs during EAS builds:
TypeError: countLines is not a function
at createDebugIdModule (@sentry/react-native/src/js/tools/sentryMetroSerializer.ts:182:22)
Temporary Fix Applied
-
metro.config.js: Disabled Sentry's Metro configuration
- Commented out
getSentryExpoConfig - Using
getDefaultConfigfrom expo/metro-config instead
- Commented out
-
app.json: Removed Sentry plugin temporarily
- Commented out the
@sentry/react-native/expoplugin configuration
- Commented out the
Impact
- Sentry error tracking still works in the app
- Source maps and debug symbols won't be uploaded to Sentry
- Stack traces in Sentry may be less detailed
To Revert When Fixed
- Uncomment Sentry imports in
metro.config.js - Re-add Sentry plugin configuration to
app.json - Monitor GitHub issue: https://github.com/getsentry/sentry-react-native/issues/5180
Expected Fix
Sentry team is aware and working on SDK 54 compatibility. Expected in v7.2.0 or later.
Date: 2025-09-23