getsentry / sentry-react-native

Official Sentry SDK for React Native
https://sentry.io
MIT License
1.58k stars 337 forks source link

Error during init #432

Closed dmitryshelomanov closed 6 years ago

dmitryshelomanov commented 6 years ago

OS:

Platform:

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

v8.9.4
6.1.0
Unitemp@0.0.1 /home/userbq201/unitemp
├── @yfuks/react-native-action-sheet@0.0.4
├── axios@0.18.0
├── eventemitter3@3.1.0
├── moment@2.22.2
├── native-base@2.4.5
├── query-string@6.1.0
├── react@16.3.1
├── UNMET PEER DEPENDENCY react-native@0.55.3
├── react-native-appsflyer@1.2.12
├── react-native-code-input@1.0.6
├── react-native-datepicker@1.7.2
├── react-native-geocoder@0.5.0
├── react-native-gifted-chat@0.4.3 invalid
├── react-native-google-places-autocomplete@1.3.6
├── react-native-image-crop-picker@0.20.3 invalid
├── react-native-maps@0.21.0
├── react-native-onesignal@3.2.4
├── react-native-page-control@1.1.1
├── react-native-permissions@1.1.1
├── react-native-splash-screen@3.0.7
├── react-native-svg@6.3.1
├── react-native-text-input-mask@0.7.0
├── react-native-triangle@0.0.9
├── react-native-typing-effect@1.0.0 invalid
├── react-navigation@1.5.12
├── react-navigation-redux-helpers@1.1.2
├── react-redux@5.0.7
├── recompose@0.27.1
├── redux@4.0.0
├── redux-symbiote@2.0.3
├── redux-thunk@2.3.0
├── reselect@3.0.1
└── symbiote-fetching@0.4.0

npm ERR! peer dep missing: react-native@^0.51 || ^0.52 || ^0.53 || ^0.54, required by react-native-maps@0.21.0
npm ERR! invalid: react-native-gifted-chat@0.4.3 /home/userbq201/unitemp/node_modules/react-native-gifted-chat
npm ERR! extraneous: @expo/react-native-action-sheet@1.0.2 /home/userbq201/unitemp/node_modules/@expo/react-native-action-sheet
npm ERR! extraneous: react-native-communications@2.2.1 /home/userbq201/unitemp/node_modules/react-native-communications
npm ERR! extraneous: uuid@3.2.1 /home/userbq201/unitemp/node_modules/react-native-gifted-chat/node_modules/uuid
npm ERR! extraneous: react-native-lightbox@0.7.0 /home/userbq201/unitemp/node_modules/react-native-lightbox
npm ERR! extraneous: react-native-parsed-text@0.0.20 /home/userbq201/unitemp/node_modules/react-native-parsed-text
npm ERR! invalid: react-native-image-crop-picker@0.20.3 /home/userbq201/unitemp/node_modules/react-native-image-crop-picker
npm ERR! invalid: react-native-typing-effect@1.0.0 /home/userbq201/unitemp/node_modules/react-native-typing-effect
npm ERR! peer dep missing: react-native@^0.51 || ^0.52 || ^0.53 || ^0.54, required by react-native-maps@0.21.0
npm ERR! missing: react-native-tab-view@github:react-navigation/react-native-tab-view, required by react-navigation@1.5.12
<!-- Replace this -->

Config:

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

install not working. Error

Error: Error during init
    at createErrorFromErrorData (NativeModules.js:121)
    at NativeModules.js:78
    at MessageQueue.__invokeCallback (MessageQueue.js:398)
    at MessageQueue.js:137
    at MessageQueue.__guardSafe (MessageQueue.js:314)
    at MessageQueue.invokeCallbackAndReturnFlushedQueue (MessageQueue.js:136)
    at debuggerWorker.js:70

I have following issue:

Description goes here ...

Steps to reproduce:

Actual result:

Expected result:

HazAT commented 6 years ago

Hey,

I need a minimal reproducible case in order to fix this. It doesn't happen in a clean setup project with react-native init.