react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.65k stars 5.05k forks source link

Cannot read property 'sceneStyleInterpolator' of undefined #12312

Open musabgulfam opened 2 hours ago

musabgulfam commented 2 hours ago

Current behavior

An error pops up saying that Cannot read property of sceneStyleInterpolator of undefined. I just upgraded from react-native version 0.72.7 to version 0.76.3

Image

Expected behavior

The app should be able to run smoothly.

Reproduction

N/A

Platform

Packages

Environment

"dependencies": {
    "@invertase/react-native-apple-authentication": "^2.2.2",
    "@notifee/react-native": "^9.1.3",
    "@react-native-async-storage/async-storage": "^2.1.0",
    "@react-native-clipboard/clipboard": "^1.15.0",
    "@react-native-community/datetimepicker": "^8.2.0",
    "@react-native-community/geolocation": "^3.4.0",
    "@react-native-community/slider": "^4.5.5",
    "@react-native-firebase/app": "^21.6.1",
    "@react-native-firebase/auth": "^21.6.1",
    "@react-native-firebase/dynamic-links": "^21.6.1",
    "@react-native-firebase/messaging": "^21.6.1",
    "@react-native-firebase/storage": "^21.6.1",
    "@react-native-google-signin/google-signin": "^9.1.0",
    "@react-native-picker/picker": "^2.10.1",
    "@react-navigation/bottom-tabs": "^7.1.3",
    "@react-navigation/drawer": "^7.0.18",
    "@react-navigation/elements": "^2.2.4",
    "@react-navigation/native": "^7.0.13",
    "@react-navigation/native-stack": "^7.1.9",
    "@twotalltotems/react-native-otp-input": "^1.3.11",
    "apisauce": "^3.1.0",
    "axios": "^1.7.8",
    "easy-peasy": "^6.0.5",
    "geolib": "^3.3.3",
    "joi": "^17.4.2",
    "lodash": "^4.17.21",
    "moment": "^2.29.2",
    "patch-package": "^8.0.0",
    "postinstall-postinstall": "^2.1.0",
    "prop-types": "^15.8.1",
    "query-string": "^8.1.0",
    "react": "18.3.1",
    "react-native": "0.76.3",
    "react-native-calendars": "^1.1307.0",
    "react-native-camera": "^4.2.1",
    "react-native-config": "^1.5.3",
    "react-native-countdown-fixed": "^2.7.1",
    "react-native-date-picker": "^5.0.7",
    "react-native-device-info": "^14.0.1",
    "react-native-exit-app": "^2.0.0",
    "react-native-fbsdk-next": "^12.1.1",
    "react-native-gesture-handler": "^2.21.2",
    "react-native-get-random-values": "^1.11.0",
    "react-native-gifted-chat": "^2.6.4",
    "react-native-google-places-autocomplete": "^2.5.7",
    "react-native-image-crop-picker": "^0.40.2",
    "react-native-image-picker": "^4.7.3",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-maps": "^1.18.2",
    "react-native-maps-directions": "^1.9.0",
    "react-native-modal": "^13.0.0",
    "react-native-modal-datetime-picker": "^14.0.0",
    "react-native-modal-selector": "^2.1.2",
    "react-native-network-info": "^5.2.1",
    "react-native-paper": "^5.12.5",
    "react-native-permissions": "^5.2.1",
    "react-native-qrcode-scanner": "^1.5.5",
    "react-native-radial-gradient": "^1.1.5",
    "react-native-raw-bottom-sheet": "^3.0.0",
    "react-native-reanimated": "^3.16.3",
    "react-native-render-html": "^6.3.4",
    "react-native-restart": "0.0.22",
    "react-native-safe-area-context": "^4.14.0",
    "react-native-screens": "^4.3.0",
    "react-native-share": "^12.0.3",
    "react-native-simple-toast": "^3.3.1",
    "react-native-snap-carousel": "4.0.0-beta.6",
    "react-native-svg": "^15.9.0",
    "react-native-toast-message": "^2.1.3",
    "react-native-vector-icons": "^10.2.0",
    "react-native-version-info": "^1.1.1",
    "react-native-webview": "^13.12.4",
    "socket.io-client": "^4.5.2"
  },
  "resolutions": {
    "react-native-permissions": "^3.10.1"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@babel/preset-env": "^7.25.3",
    "@babel/runtime": "^7.25.0",
    "@react-native-community/cli": "15.0.1",
    "@react-native-community/cli-platform-ios": "15.0.1",
    "@react-native/babel-preset": "0.76.3",
    "@react-native/eslint-config": "0.76.3",
    "@react-native/metro-config": "0.76.3",
    "@react-native/typescript-config": "0.76.3",
    "@types/react": "^18.2.6",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "babel-plugin-transform-remove-console": "^6.9.4",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-native-svg-transformer": "^1.5.0",
    "react-test-renderer": "18.3.1",
    "typescript": "5.0.4"
  },
github-actions[bot] commented 2 hours ago

Hey @musabgulfam! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro, or the provided repro is not valid (e.g. broken link, private repo, code doesn't run etc.).

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following: