Possible to set up source maps for local development using "default" Expo metro bundler using npx expo start
?
#4907
Unanswered
goulashsoup
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The manual setup guide for Expo states:
We use sentry self-hosted.
So source maps are not possible during development when using
npx expo start --clear
?Is there a workaround for this?
I know that I can use
npx expo export -p web --dump-sourcemap && npx sentry-expo-upload-sourcemaps ./dist
withnpx serve dist
, but I wanna useexpo start --clear
to test the same build for all devices.Our setup using
sentry/[email protected]
for[email protected]
:app.config.ts
:metro.config.js
:lib/sentry.ts
:app/_layout.tsx
:Used
<Button title='Try!' onPress={ () => { Sentry.captureException(new Error("First error")); }}/>
, error is catched, butStack frame doesn't have Debug IDs
according to Sentry.Beta Was this translation helpful? Give feedback.
All reactions