OS:
_Platform:_
Output of node -v && npm -v && npm ls --prod --depth=0
v9.11.1
6.1.0
HomeChefApp@ /Users/javierolivieri/projects/foxbox/homechef/react_mobile
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: react-native@>=0.56.0, required by [email protected]
npm ERR! invalid: [email protected] /Users/javierolivieri/projects/foxbox/homechef/react_mobile/node_modules/@sentry/wizard/node_modules/xcode
npm ERR! peer dep missing: [email protected], required by [email protected]
npm ERR! peer dep missing: react-native@^0.44.1, required by [email protected]
I have following issue:
/node_modules/react-native-sentry/ios/RNSentryEventEmitter.h:4:9: fatal error: 'RCTEventEmitter.h' file not found
Steps to reproduce:
Follow readme install instructions
Actual result:
Build Failed
Expected result:
Build Successfull
From the README:
react-native-sentry >= 0.39.0requiresreact-native >= 0.56.0
You're using [email protected] and [email protected].
From the README:
react-native-sentry >= 0.39.0requiresreact-native >= 0.56.0You're using
[email protected]and[email protected].
Hi @se-bastiaan , I'm trying with 0.38.3
"react-native-sentry": "0.38.3",
I'm receive same error
With [email protected]
same issue
react-native-sentry/ios/RNSentryEventEmitter.h:4:9: fatal error: 'RCTEventEmitter.h' file not found
v9.11.1
6.1.0
HomeChefApp@ /Users/javierolivieri/projects/foxbox/homechef/react_mobile
├── [email protected]
├── [email protected]
├── [email protected]
├── lodash.[email protected]
├── lodash.[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: eslint@^3.17.0 || ^4.0.0, required by [email protected]
npm ERR! peer dep missing: [email protected], required by [email protected]
npm ERR! peer dep missing: react-native@^0.44.1, required by [email protected]
What are the header search paths in Xcode for the react-native-sentry library?
What are the header search paths in Xcode for the react-native-sentry library?
I run this steps, and now it's working
_Do NOT use CocoaPods for react-native-sentry
Follow the standard install steps:
a) yarn react-native-sentry
b) react-native link react-native-sentry
If your Podfile was modified by the setup script, remove any reference of ReactNativeSentry
Open Xcode and drag node_modules/react-native-sentry/ios/RNSentry.xcodeproj into your project's Libraries directory
Open your project's "Linked Frameworks and Libraries" and add libRNSentry.a_
I am closing this since your issue seems to be fixed.
Mine is not fixed. I have the same probleme and there is no RNSentry.xcodeproj and when i drop other xcodeproj files i get other errors.
Most helpful comment
I run this steps, and now it's working
_Do NOT use CocoaPods for react-native-sentry
Follow the standard install steps:
a) yarn react-native-sentry
b) react-native link react-native-sentry
If your Podfile was modified by the setup script, remove any reference of ReactNativeSentry
Open Xcode and drag node_modules/react-native-sentry/ios/RNSentry.xcodeproj into your project's Libraries directory
Open your project's "Linked Frameworks and Libraries" and add libRNSentry.a_