Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sourcemaps not working with latest haul #599

Closed
3 tasks done
yongching opened this issue Jun 9, 2019 · 1 comment
Closed
3 tasks done

Sourcemaps not working with latest haul #599

yongching opened this issue Jun 9, 2019 · 1 comment

Comments

@yongching
Copy link

yongching commented Jun 9, 2019

OS:

  • MacOS

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0

├── react@16.8.3
├── react-dom@16.6.1
├── react-hot-loader@4.8.0
├── UNMET PEER DEPENDENCY react-native@0.59.0
└── react-native-sentry@0.43.1

npm ERR! peer dep missing: react-native@^0.57.0, required by haul@1.0.0-rc.15

Config:

Sentry.config('https://...@sentry.io/...', {
    environment: "dev"
}).install()

I have following issue:

I'm current using react-native 0.59.0 & haul 1.0.0-rc.15 but sentry seems to be not working correctly. I'm expecting it to display the original code where the error was thrown (line 28 in App.js). It happens in both ios & android.

Here's the raw json event:
https://codeshare.io/2KbjLo

Steps to reproduce:

  1. git clone https://github.com/yongching/sentry-sourcemap
  2. yarn && yarn ioshaul
  3. react-native run-ios / run-android

Actual result:
Screenshot 2019-06-09 at 6 32 07 PM

@HazAT
Copy link
Member

HazAT commented Sep 4, 2019

I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants