facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.52k stars 24.37k forks source link

TypeError: undefined is not an object (evaluating '_reactNative.Text.propTypes.style') #35552

Closed shivani-webmobi closed 1 year ago

shivani-webmobi commented 1 year ago

Description

After updating version 0.70.6 and expo update

JSON file { "scripts": { "start": "expo start --dev-client", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web", "eject": "expo eject", "test": "jest --watchAll" }, "jest": { "preset": "jest-expo" }, "dependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@expo/samples": "~36.0.0", "@expo/vector-icons": "^13.0.0", "@expo/videoplayer": "^0.4.0", "@react-native-community/datetimepicker": "6.7.1", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/netinfo": "9.3.7", "@react-native-picker/picker": "2.4.8", "@react-navigation/bottom-tabs": "^6.4.3", "@react-navigation/drawer": "^6.5.3", "@react-navigation/native": "^6.0.16", "@sentry/react-native": "^4.10.1", "@stripe/stripe-react-native": "0.22.0", "@twotalltotems/react-native-otp-input": "^1.3.11", "axios": "1.2.0", "buffer": "^6.0.3", "deprecated-react-native-listview": "0.0.8", "expo": "^47.0.8", "expo-app-loading": "^2.1.1", "expo-apple-authentication": "^5.0.1", "expo-application": "^5.0.1", "expo-asset": "^8.6.2", "expo-av": "^13.0.2", "expo-camera": "^13.1.0", "expo-constants": "^14.0.2", "expo-device": "^5.0.0", "expo-facebook": "^12.2.0", "expo-file-system": "^15.1.1", "expo-firebase-recaptcha": "^2.3.1", "expo-font": "^11.0.1", "expo-image-cropper-gl-react": "^1.1.1", "expo-image-manipulator": "^11.0.0", "expo-image-picker": "^14.0.2", "expo-linear-gradient": "^12.0.1", "expo-location": "^15.0.1", "expo-mail-composer": "^12.0.0", "expo-media-library": "^15.0.0", "expo-modules-core": "^1.0.3", "expo-notifications": "^0.17.0", "expo-permissions": "~14.0.0", "expo-random": "^13.0.0", "expo-server-sdk": "^3.7.0", "expo-sharing": "^11.0.1", "expo-splash-screen": "~0.17.5", "expo-status-bar": "~1.4.2", "expo-video-player": "^2.2.0", "expo-video-thumbnails": "^7.0.0", "expo-web-browser": "^12.0.0", "firebase": "9.14.0", "gl-react": "^5.2.0", "gl-react-expo": "^5.2.1", "gl-react-image": "^3.2.0", "gl-react-native": "^5.2.1", "jetifier": "^2.0.0", "jwt-decode": "^3.1.2", "libphonenumber-js": "^1.10.14", "moment": "^2.29.4", "native-base": "^3.4.23", "prop-types": "^15.8.1", "react": "18.2.0", "react-dom": "18.2.0", "react-lifecycles-compat": "^3.0.4", "react-native": "0.70.6", "react-native-autogrow-input": "^0.2.1", "react-native-autoheight-webview": "^1.6.5", "react-native-calendars": "^1.1292.0", "react-native-cardstack-view": "git+https://github.com/amandeepmittal/react-native-cardstack-view.git", "react-native-chart-kit": "^6.12.0", "react-native-check-box": "^2.1.7", "react-native-countdown-component": "^2.7.1", "react-native-country-picker-modal": "^2.0.0", "react-native-datepicker": "^1.7.2", "react-native-dropdown": "0.0.6", "react-native-dropdown-menu": "^2.0.0", "react-native-elements": "^3.4.2", "react-native-flexi-radio-button": "^0.2.2", "react-native-fontawesome": "^7.0.0", "react-native-geocoding": "^0.5.0", "react-native-gesture-handler": "^2.8.0", "react-native-image-pan-zoom": "^2.1.12", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-keyboard-spacer": "^0.4.1", "react-native-loading-spinner-overlay": "^3.0.1", "react-native-maps": "1.3.2", "react-native-maps-directions": "^1.9.0", "react-native-material-dropdown": "^0.11.1", "react-native-material-dropdown-v2": "^0.11.1", "react-native-media-controls": "^2.3.0", "react-native-modal": "^13.0.1", "react-native-modal-dropdown-v2": "^1.0.1", "react-native-modal-picker": "^0.0.16", "react-native-modal-selector": "^2.1.2", "react-native-modalbox": "^2.0.2", "react-native-open-maps": "^0.4.0", "react-native-optimized-flatlist": "^1.0.4", "react-native-paper": "^4.12.5", "react-native-popup-dialog": "^0.18.3", "react-native-progress": "^5.0.0", "react-native-pure-chart": "0.0.24", "react-native-reanimated": "^2.13.0", "react-native-render-html": "^6.3.4", "react-native-safe-area-context": "4.4.1", "react-native-screens": "^3.18.2", "react-native-search-box": "0.0.20", "react-native-simple-time-picker": "^1.3.11", "react-native-simple-toast": "^2.0.0", "react-native-snackbar": "^2.4.0", "react-native-snap-carousel": "^3.9.1", "react-native-super-grid": "^5.0.0", "react-native-svg": "13.6.0", "react-native-svg-charts": "^5.4.0", "react-native-swipe-navigation": "^1.0.0-beta", "react-native-switch": "^1.5.1", "react-native-table-component": "^1.2.2", "react-native-textarea": "^1.0.4", "react-native-vector-icons": "^9.2.0", "react-native-video": "^5.2.1", "react-native-video-player": "^0.14.0", "react-native-web": "0.18.10", "react-native-webview": "^11.25.0", "react-navigation": "^4.4.4", "react-redux": "^8.0.5", "react-svg-chart": "^4.0.1", "rect-clamp": "0.0.0", "rect-crop": "0.0.0", "redux": "^4.2.0", "redux-logger": "^3.0.6", "redux-thunk": "^2.4.2", "rn-progress-loader": "^1.0.8", "stripe-client": "^1.1.5", "with-default-props": "^0.2.1" }, "devDependencies": { "@babel/core": "^7.20.5", "babel-preset-expo": "9.2.2", "jest-expo": "^47.0.1" }, "private": true, "name": "b-body-fitness-app", "version": "1.0.0" }

Version

0.70.6

Output of npx react-native info

System: OS: macOS 10.15.7 CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz Memory: 37.80 MB / 10.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm Watchman: 2022.09.05.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: 15.0.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

update react-native version 0.70.6 and expo47 both

Snack, code example, screenshot, or link to a repository

babel.config.js

module.exports = function (api) { api.cache(true); return { presets: ['babel-preset-expo','module:metro-react-native-babel-preset'], plugins: ['react-native-reanimated/plugin'], }; };

github-actions[bot] commented 1 year ago
:warning: Missing Required Fields
:information_source: It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one.
shivani-webmobi commented 1 year ago

@safaiyeh what other information you need I am stuck with this issue please help me for this