margelo / react-native-graph

📈 Beautiful, high-performance Graphs and Charts for React Native built with Skia
https://margelo.io
MIT License
2.08k stars 118 forks source link

Conflicting versions of SVG/Reanimated/RNGraph #105

Open kanopo opened 6 months ago

kanopo commented 6 months ago

Hi, i'm building a expo app with the following package.json:

{
  "dependencies": {
    "@expo/config-plugins": "7.2.2",
    "@expo/metro-runtime": "3.1.1",
    "@expo/prebuild-config": "6.2.4",
    "@react-native-async-storage/async-storage": "1.18.2",
    "@react-native-picker/picker": "2.4.10",
    "@react-navigation/bottom-tabs": "6.3.2",
    "@react-navigation/native": "6.0.2",
    "@react-navigation/native-stack": "6.0.2",
    "@sentry/react-native": "5.10.0",
    "@shopify/flash-list": "1.4.3",
    "@shopify/react-native-skia": "^1.2.3",
    "axios": "1.6.7",
    "buffer": "6.0.3",
    "date-fns": "2.30.0",
    "ecpair": "2.1.0",
    "events": "3.3.0",
    "expo": "49.0.23",
    "expo-application": "5.3.0",
    "expo-barcode-scanner": "12.5.3",
    "expo-build-properties": "0.8.3",
    "expo-camera": "13.4.4",
    "expo-clipboard": "4.3.1",
    "expo-constants": "14.4.2",
    "expo-dev-client": "2.4.13",
    "expo-device": "5.4.0",
    "expo-font": "11.4.0",
    "expo-font-loader": "1.1.0",
    "expo-linear-gradient": "12.3.0",
    "expo-linking": "5.0.2",
    "expo-localization": "14.3.0",
    "expo-modules-autolinking": "1.5.0",
    "expo-secure-store": "12.5.0",
    "expo-splash-screen": "0.20.5",
    "expo-status-bar": "1.6.0",
    "expo-updates": "0.18.19",
    "expo-web-browser": "12.3.2",
    "i18n-js": "3.9.2",
    "immer": "10.0.3",
    "nativewind": "2.0.11",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.72.10",
    "react-native-chart-kit": "^6.12.0",
    "react-native-drawer-layout": "4.0.0-alpha.1",
    "react-native-element-dropdown": "2.10.2",
    "react-native-gesture-handler": "^2.12.0",
    "react-native-get-random-values": "1.9.0",
    "react-native-graph": "^1.1.0",
    "react-native-keyboard-aware-scroll-view": "0.9.5",
    "react-native-mmkv": "2.12.0",
    "react-native-modal": "13.0.1",
    "react-native-pager-view": "6.2.0",
    "react-native-picker-select": "9.0.1",
    "react-native-reanimated": "3.3.0",
    "react-native-safe-area-context": "4.6.3",
    "react-native-screens": "3.22.0",
    "react-native-svg": "13.10.0",
    "react-native-webview": "13.2.2",
    "react-query": "3.39.3",
    "rn-qr-generator": "1.4.0",
    "sentry-expo": "7.1.0",
    "stream": "0.0.2",
    "tailwindcss": "3.3.2",
    "text-encoding": "0.7.0",
    "toggle-switch-react-native": "3.3.0",
    "zustand": "4.5.1"
  },
  }

I've encountered a problem where the app suddenly crash after i enable the animate value of the graph, my guess is that i'm using some incompatible version of react-native-reanimate or skia or react-native-svg or something on those lines.

I think the problem comes from the SVG version.

Any suggestions?

Thank u:)