Error uploading sourcemaps to Sentry: ENOENT: no such file or directory

Getting the following error when building my app

[17:08:20] No currently active or previous builds for this project.
[17:08:20] Using existing credentials for this build
[17:08:20] Publishing to channel 'default'...
[17:08:22] Building iOS bundle
[17:09:16] Building Android bundle
...
[17:10:18] Building sourcemaps
[17:10:19] Uploading JavaScript bundles
...
[17:10:23] Running postPublish hook: sentry-expo/upload-sourcemaps
[17:10:23] Error uploading sourcemaps to Sentry: ENOENT: no such file or directory, open '[APP_DIRECTORY]/.tmp/sentry/main.android.map'
[17:10:23] Verify that your Sentry configuration in app.json is correct and refer to https://docs.expo.io/versions/latest/guides/using-sentry.html
[17:10:23] Published
[17:10:23] Your URL is
...

Was working fine before, this build is to update to Expo SDK 32 which I bet is related. Currently on “sentry-expo”: “~1.11.2”

i just updated this and used it with sdk32 a couple of days ago and it was fine. try running it again, it may have been an intermittent error or something specific to your machine config

1 Like

Seems to be working now when I publish! (haven’t retried with building)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.