-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Can't install the latest SDK due to dependency issue.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [reacted]@[our-app]
npm error Found: @datadog/mobile-react-native@3.0.0
npm error node_modules/@datadog/mobile-react-native
npm error @datadog/mobile-react-native@"^3.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @datadog/mobile-react-native@"^2.0.1" from @datadog/mobile-react-native-webview@3.0.0
npm error node_modules/@datadog/mobile-react-native-webview
npm error @datadog/mobile-react-native-webview@"^3.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
Added: also for expo-datadog too.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @datadog/mobile-react-native-webview@3.0.0
npm error Found: @datadog/mobile-react-native@3.0.0
npm error node_modules/@datadog/mobile-react-native
npm error @datadog/mobile-react-native@"^3.0.0" from the root project
npm error peer @datadog/mobile-react-native@">=2.0.0" from expo-datadog@54.0.0
npm error node_modules/expo-datadog
npm error expo-datadog@"^54.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @datadog/mobile-react-native@"^2.0.1" from @datadog/mobile-react-native-webview@3.0.0
npm error node_modules/@datadog/mobile-react-native-webview
npm error @datadog/mobile-react-native-webview@"^3.0.0" from the root project
npm error
npm error Conflicting peer dependency: @datadog/mobile-react-native@2.14.1
npm error node_modules/@datadog/mobile-react-native
npm error peer @datadog/mobile-react-native@"^2.0.1" from @datadog/mobile-react-native-webview@3.0.0
npm error node_modules/@datadog/mobile-react-native-webview
npm error @datadog/mobile-react-native-webview@"^3.0.0" from the root project
Reproduction steps
In package.json
"@datadog/mobile-react-native": "^3.0.0",
"@datadog/mobile-react-native-session-replay": "^3.0.0",
"@datadog/mobile-react-native-webview": "^3.0.0",
"@datadog/mobile-react-navigation": "^3.0.0",
...
"expo-datadog": "^54.0.0",
and run npm Install
SDK logs
No response
Expected behavior
It should just work
Affected SDK versions
3.0.0
Latest working SDK version
2.x
Did you confirm if the latest SDK version fixes the bug?
No
Integration Methods
NPM
React Native Version
No response
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
No response
Other relevant information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working