-
Notifications
You must be signed in to change notification settings - Fork 13
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
# Bug Report: Dependency Conflict with customerio-reactnative
#365
Comments
Thanks for the detailed report! I'd like to confirm a few things to be able to better help with the issue:
We don't have explicit support for monorepos with our Expo plugin so if in fact If you are not comfortable sharing any of the information here, feel free to contact us through [email protected] and mention this ticket number. |
You’r welcome !
Next the package.json of the native folder : {
"name": "native",
"version": "1.0.1",
"main": "index.js",
"scripts": {
"eas-build-pre-install": "./scripts/eas-build-pre-install.sh",
...
},
"comments": {
"dependencies": {
"libphonenumber-js": "DO NOT UPGRADE to 1.10.0 breaking changes"
}
},
"dependencies": {
"@expo/config-plugins": "~9.0.0",
"@fortawesome/react-native-fontawesome": "^0.3.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/checkbox": "^0.5.12",
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-picker/picker": "2.9.0",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/core": "^6.4.9",
"@react-navigation/elements": "^1.3.18",
"@react-navigation/material-top-tabs": "^6.6.3",
"@react-navigation/native": "^6.1.7",
"@react-navigation/stack": "^6.3.17",
"@sentry/react-native": "~6.3.0",
"customerio-expo-plugin": "^1.0.0-beta.17",
"customerio-reactnative": "^4.1.1",
"date-fns": "^2.28.0",
"expo": "~52.0.18",
"expo-apple-authentication": "~7.1.2",
"expo-application": "~6.0.1",
"expo-auth-session": "~6.0.1",
"expo-blur": "~14.0.1",
"expo-build-properties": "~0.13.1",
"expo-clipboard": "~7.0.0",
"expo-constants": "~17.0.3",
"expo-dev-client": "~5.0.6",
"expo-device": "~7.0.1",
"expo-document-picker": "~13.0.1",
"expo-file-system": "~18.0.5",
"expo-image-manipulator": "~13.0.5",
"expo-image-picker": "~16.0.3",
"expo-linear-gradient": "~14.0.1",
"expo-linking": "~7.0.3",
"expo-location": "~18.0.4",
"expo-notifications": "~0.29.11",
"expo-random": "~14.0.1",
"expo-sharing": "~13.0.0",
"expo-splash-screen": "~0.29.18",
"expo-status-bar": "~2.0.0",
"expo-tracking-transparency": "~5.1.0",
"expo-updates": "~0.26.10",
"firebase": "^9.9.0",
"ibantools": "^4.1.5",
"libphonenumber-js": "1.9.53",
"lottie-react-native": "7.1.0",
"react-fast-compare": "^3.2.1",
"react-native": "0.76.5",
"react-native-appsflyer": "^6.14.3",
"react-native-circular-progress": "^1.3.7",
"react-native-confetti-cannon": "^1.5.2",
"react-native-dotenv": "^2.4.2",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "~2.20.2",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-maps": "1.18.0",
"react-native-markdown-display": "^7.0.2",
"react-native-mask-text": "^0.7.0",
"react-native-modal-datetime-picker": "^14.0.1",
"react-native-pager-view": "6.5.1",
"react-native-portalize": "^1.0.7",
"react-native-reanimated": "^3.16.3",
"react-native-redash": "^16.2.3",
"react-native-root-siblings": "^4.1.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.1.0",
"react-native-svg": "15.8.0",
"react-native-tab-view": "^3.5.2",
"react-native-ux-cam": "^5.4.5",
"react-native-vector-icons": "^9.1.0",
"react-native-web": "~0.19.13",
"react-native-webview": "13.12.5",
"rn-pdf-reader-js": "^4.1.1",
"styled-components": "^5.3.3",
"styled-system": "^5.1.5",
"ts-node": "10.9.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/styled-components": "^5.1.24",
"@types/styled-components-react-native": "^5.1.3",
"@types/styled-system": "^5.1.15",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-preset-expo": "~12.0.0",
"husky": "^7.0.4",
"jest-expo": "~52.0.2",
"lint-staged": "^12.3.7",
"patch-package": "^6.4.7",
"pretty-quick": "^3.1.3",
"react-test-renderer": "^18.2.0"
},
"private": true
} And the Podfile :
|
If you want any more necessary informations, don’t hesitate to ask me ! :) |
I close this issue, i will in charge to upgrade to 4.1.1. And this issue is resolved after adapt my workspace with dependencies @mahmoud-elmorabea Thank at all |
SDK version
^3.9.1
52
Environment
Are logs available?
No logs are currently available, but the following error is encountered during the
eas build
process:Describe the bug
When running the
eas build
command, the build fails due to conflicting dependencies forcustomerio-reactnative
in thePodfile
. The error suggests that the library is being referenced twice with different paths:../node_modules/customerio-reactnative
../../node_modules/customerio-reactnative/apn
.This appears to be caused by incorrect path resolution in a monorepo workspace structure.
To Reproduce
Appears in expo build online
native
folder for builds.node_modules
directory.Expected behavior
The build should complete without dependency resolution errors.
Screenshots
Additional context
Project configuration: Monorepo using Expo and React Native.
Structure: The native folder contains generated native code (iOS/Android), and dependencies are declared in a shared workspace.
The text was updated successfully, but these errors were encountered: