App doesnt run on expo go after expo update from sdk 39 to 41

Please provide the following:

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): ios and android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

This is the error I got below when i try to run the app on ios simulator

after a little debugging this is the error I got :

 › Waiting on exp://192.168.100.9:19001
 › Scan the QR code above with Expo Go (Android) or the Camera app (iOS)

 › Press a │ open Android
 › Press i │ open iOS simulator
 › Press w │ open web

 › Press r │ reload app
 › Press m │ toggle menu in Expo Go
 › Press d │ show developer tools
 › shift+d │ toggle auto opening developer tools on startup (enabled)

 › Press ? │ show all commands

Logs for your project will appear below. Press Ctrl+C to exit.
Failed to construct transformer:  Error: Cannot find module '/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/node_modules/debug/src/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:348:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:561:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:926:27)
    at Function.Module._load (node:internal/modules/cjs/loader:773:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at _debug (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/lib/config/files/configuration.js:13:39)
    at Object.<anonymous> (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/lib/config/files/configuration.js:72:19)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Function.Module._load (node:internal/modules/cjs/loader:828:14)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/lib/config/files/index.js:69:22)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Function.Module._load (node:internal/modules/cjs/loader:828:14)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/lib/index.js:181:14)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Function.Module._load (node:internal/modules/cjs/loader:828:14)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/metro/src/JSTransformer/worker.js:131:18)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Function.Module._load (node:internal/modules/cjs/loader:828:14)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at getTransformCacheKey (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/metro/src/DeltaBundler/Transformer/getTransformCacheKey.js:31:23)
    at new Transformer (/Users/calebawoniyi/Desktop/Code/MPC/node_modules/metro/src/DeltaBundler/Transformer.js:147:28)
    at /Users/calebawoniyi/Desktop/Code/MPC/node_modules/metro/src/Bundler.js:54:29 {
  code: 'MODULE_NOT_FOUND',
  path: '/Users/calebawoniyi/Desktop/Code/MPC/node_modules/@babel/core/node_modules/debug/package.json',
  requestPath: 'debug'
}