Error on Development Build RNCSafeAreaProvider not found in UIManager

I am facing an error only during development build. It says:
"requireNativeComponent: “RNCSafeAreaProvider” was not found in the UIManager.

Below is my package.json:

{
  "name": "organapp",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-community/datetimepicker": "6.7.3",
    "@react-native-picker/picker": "2.4.8",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/drawer": "^6.6.2",
    "@react-navigation/native-stack": "^6.9.12",
    "@reduxjs/toolkit": "^1.9.5",
    "@types/react-native": "^0.72.2",
    "@types/react-redux": "^7.1.25",
    "axios": "^1.4.0",
    "expo": "~48.0.18",
    "expo-print": "~12.2.1",
    "expo-sharing": "~11.2.2",
    "expo-status-bar": "~1.4.4",
    "formik": "^2.4.2",
    "moment": "^2.29.4",
    "react": "18.2.0",
    "react-native": "0.71.8",
    "react-native-gesture-handler": "~2.9.0",
    "react-native-loading-spinner-overlay": "^3.0.1",
    "react-native-reanimated": "~2.14.4",
    "react-native-safe-area-view": "^1.1.1",
    "react-native-screens": "~3.20.0",
    "react-redux": "^8.1.1",
    "yup": "^1.2.0",
    "expo-dev-client": "~2.2.1"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0"
  },
  "private": true
}

Been stuck for days on this now. Need help.

Hi @rahul_expo

Do you mean that you are able to create a development build, but then you get this error when you try to run the app? Or do you mean you get this error while trying to build the app?