expo / sentry-expo

MIT License
202 stars 83 forks source link

SourceMap uploaded,sentry still can not fetch locate error in source map #330

Closed Jianlong-Nie closed 1 year ago

Jianlong-Nie commented 1 year ago

Summary

"expo": "~48.0.11",
"react-native": "0.71.6",
"sentry-expo": "~6.1.1",
"@sentry/react-native": "5.3.1",

image image but the sourcemap is really there,you can see image

image

and from the building log,you can see:

[stderr] 
  DEBUG   2023-04-23 11:36:54.685646274 +00:00 body: {"id":707309421,"version":"com.apolloBuyerSalamiSlicing@1.1.8+54","status":"open","shortVersion":"com.apolloBuyerSalamiSlicing@1.1.8+54","versionInfo":{"package":"com.apolloBuyerSalamiSlicing","version":{"raw":"1.1.8+54","major":1,"minor":1,"patch":8,"pre":null,"buildCode":"54","components":3},"description":"1.1.8 (54)","buildHash":null},"ref":null,"url":null,"dateReleased":null,"dateCreated":"2023-04-23T11:36:54.374079Z","data":{},"newGroups":0,"owner":null,"commitCount":0,"lastCommit":null,"deployCount":0,"lastDeploy":null,"authors":[],"projects":[{"id":6500559,"slug":"buyer-app","name":"buyer-app","newGroups":0,"platform":"react-native","platforms":["cocoa","java","javascript","node"],"hasHealthData":false}],"firstEvent":null,"lastEvent":null,"currentProjectMeta":{},"userAgent":"sentry-cli/2.17.1"}
> Bundled 2 files for upload
> Uploaded files to Sentry
> File upload complete (processing pending on server)
> Organization: salamislicing-private-limited
> Project: buyer-app
> Release: com.apolloBuyerSalamiSlicing@1.1.8+54
> Dist: 54
> Upload type: release bundle
Source Map Upload Report
  Minified Scripts
    ~/index.android.bundle (no sourcemap ref)
  Source Maps
    ~/index.android.bundle.map

image

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

Android

SDK Version (managed workflow only)

6.1.1

Environment

 expo-env-info 1.0.3 environment info:
    System:
      OS: macOS 13.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 19.7.0 - /usr/local/bin/node
      Yarn: 1.22.19 - /opt/homebrew/bin/yarn
      npm: 8.19.2 - /opt/homebrew/bin/npm
      Watchman: 2023.04.17.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.12.1 - /Users/jianlongnie/.rvm/gems/ruby-2.7.2/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
      Android SDK:
        API Levels: 28, 29, 30, 31, 32, 33
        Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0
        System Images: android-31 | Google TV ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-33 | Google APIs Intel x86 Atom_64, android-33 | Google Play Intel x86 Atom_64, android-S | Google APIs ARM 64 v8a, android-UpsideDownCake-ext5 | Google APIs Intel x86_64 Atom
        Android NDK: 22.1.7171670
    IDEs:
      Android Studio: 2022.1 AI-221.6008.13.2211.9619390
      Xcode: 14.3/14E222b - /usr/bin/xcodebuild
    npmPackages:
      expo: ~48.0.11 => 48.0.11 
      react: 18.2.0 => 18.2.0 
      react-dom: ^18.1.0 => 18.2.0 
      react-native: 0.71.6 => 0.71.6 
      react-native-web: ~0.18.10 => 0.18.12 
    npmGlobalPackages:
      eas-cli: 3.9.3
      expo-cli: 6.3.2
    Expo Workflow: bare

Reproducible demo or steps to reproduce from a blank project

sorry,i can not provide it for now,will provide it later

dylanrandle commented 1 year ago

+1 I'm also seeing this. Source maps are visible in Sentry, but I get the following error:

Screen Shot 2023-05-01 at 8 10 50 PM
github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

shubhamkumbhakar commented 1 year ago
Screenshot 2023-07-26 at 17 22 36 Screenshot 2023-07-26 at 17 23 28

Any help here please? I am also stuck with the same issue. For me, one issue has the source map while other one don't have. Both having the same source of error. I can see stack trace for the first one only.