-
-
Notifications
You must be signed in to change notification settings - Fork 354
Labels
Description
What React Native libraries do you use?
RN New Architecture
Are you using sentry.io or on-premise?
on-premise (Self-Hosted)
@sentry/react-native SDK Version
7.1.0
How does your development environment look like?
System:
OS: macOS 15.6.1
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 53.39 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.16.0
path: /usr/local/opt/node@22/bin/node
Yarn:
version: 1.22.22
path: /usr/local/opt/node@22/bin/yarn
npm:
version: 10.9.2
path: /usr/local/opt/node@22/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.25659.59.2432.13423653
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.81.4
wanted: 0.81.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: false
Sentry.init()
Sentry.init({
enableNative: true,
maxValueLength: 20000,
attachScreenshot: true,
attachViewHierarchy: true,
enableCaptureFailedRequests: true,
debug: true,
dist: BuildVersion,
release: deviceInfoModule.getVersion(),
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
tracesSampleRate: 0.1,
enableAppStartTracking: true,
enableNativeFramesTracking: true,
enableStallTracking: true,
enableUserInteractionTracing: true,
sendDefaultPii: true,
integrations: [
navigationIntegration
],
_experiments: {
enableUnhandledCPPExceptionsV2: true,
},
useThreadsForMessageStack: true,
// _experiments: {
// // The sampling rate for profiling is relative to TracesSampleRate.
// // In this case, we'll capture profiles for 100% of transactions.
// profilesSampleRate: 1.0,
// },
});Steps to Reproduce
1.yarn 2.yarn start --reset-cache 3.open iPhone Simulator
Expected Result
This error does not appear
Actual Result
TypeError: countLines is not a function
Now I have solved the problem through this method:
"resolutions": {
"metro": "0.83.1",
"metro-core": "0.83.1",
"metro-config": "0.83.1"
}
chrisfarms, schriker, luklapp, TobiDevloft, ArmindoFlores and 13 more
Metadata
Metadata
Assignees
Labels
Projects
Status
No status