Android EAS build failing because of outdated library

I am trying to complete an Android build using EAS for my react native app. Right now it is failing in the Run gradlew section because one of the packages in my package.json titled fiction-expo-restart ends up importing unimodules, which are not compatible with expo-sdk-47. Expo has long moved onto expo modules instead.

So far I have been unable to resolve this error, and I have the most recent version of the fiction-expo-restart library. How can I resolve this?

Here is the error:

[stderr] Error loading assets JSON from Metro. Ensure you've followed all expo-updates installation steps correctly. Unable to resolve module @unimodules/core from /home/expo/workingdir/build/node_modules/fiction-expo-restart/node_modules/expo-updates/build/Updates.js: @unimodules/core could not be found within the project or in these directories:
[stderr]   node_modules/fiction-expo-restart/node_modules/expo-updates/node_modules
[stderr]   node_modules/fiction-expo-restart/node_modules
[stderr]   node_modules
[stderr] > 1 | import { RCTDeviceEventEmitter, CodedError, NativeModulesProxy, UnavailabilityError, } from '@unimodules/core';
[stderr]     |                                                                                              ^
[stderr]   2 | import { EventEmitter } from 'fbemitter';
[stderr]   3 | import ExpoUpdates from './ExpoUpdates';
[stderr]   4 | export * from './Updates.types';
[stderr] @build-script-error-end
[stderr]     at /home/expo/workingdir/build/node_modules/expo-updates/scripts/createManifest.js:59:11
[stderr]     at runMicrotasks (<anonymous>)
[stderr]     at processTicksAndRejections (node:internal/process/task_queues:96:5)

And my package.json looks like this:

{
  "version": "1.0.30",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@ptomasroos/react-native-multi-slider": "^2.2.2",
    "@react-native-community/datetimepicker": "6.5.2",
    "@react-native-picker/picker": "2.4.8",
    "@react-navigation/bottom-tabs": "^6.4.0",
    "@react-navigation/drawer": "^6.5.0",
    "@react-navigation/native": "^6.0.13",
    "@react-navigation/native-stack": "^6.9.1",
    "@react-navigation/stack": "^6.3.2",
    "crypto-js": "^3.1.9-1",
    "deprecated-react-native-prop-types": "2.2.0",
    "expo": "^47.0.8",
    "expo-av": "~13.0.2",
    "expo-crypto": "~12.0.0",
    "expo-dev-client": "~2.0.1",
    "expo-device": "~5.0.0",
    "expo-linear-gradient": "~12.0.1",
    "expo-location": "~15.0.1",
    "expo-permissions": "~14.0.0",
    "expo-splash-screen": "~0.17.5",
    "expo-sqlite": "~11.0.0",
    "expo-status-bar": "~1.4.2",
    "expo-updates": "~0.15.6",
    "fiction-expo-restart": "^1.1.3",
    "isaac": "^0.0.5",
    "lodash.clonedeep": "^4.5.0",
    "lodash.debounce": "^4.0.8",
    "lodash.isequal": "^4.5.0",
    "moment": "^2.29.4",
    "patch-package": "^6.4.7",
    "react": "18.1.0",
    "react-native": "0.70.5",
    "react-native-bcrypt": "^2.4.0",
    "react-native-draggable-flatlist": "^3.1.2",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-get-random-values": "~1.8.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-keyboard-spacer": "^0.4.1",
    "react-native-modal-selector": "^2.1.2",
    "react-native-open-maps": "^0.4.0",
    "react-native-pager-view": "6.0.1",
    "react-native-randombytes": "^3.6.1",
    "react-native-reanimated": "~2.12.0",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-signature-pad": "^0.1.2",
    "react-native-svg": "13.4.0",
    "react-native-svg-charts": "^5.4.0",
    "react-native-tab-view": "^3.3.0",
    "react-native-webview": "11.23.1",
    "react-navigation": "^4.4.4",
    "react-navigation-drawer": "^2.7.2",
    "react-redux": "^8.0.4",
    "react-serialize": "^0.2.1",
    "redux": "^4.2.0",
    "redux-thunk": "^2.4.1",
    "serialize-javascript": "^6.0.0",
    "socket.io-client": "2.1.0"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3"
  },
  "private": true,
  "name": "mobile-updated"
}