skip to Main Content

I’m new to react native trying to run an app with expo and it started showing me this error about ViewPropTypes problem, so I decided to upgrade react-native to latest to check if the error goes, the last error disappeared but now I got this error that I haven’t even found anything related to it in the entire internet

node_modulesreact-nativesrcprivatespecscomponentsDebuggingOverlayNativeComponent.js:
C:Projectsnamenode_modulesreact-nativesrcprivatespecscomponentsDebuggingOverlayNativeComponent.js:
Unsupported param type for method "highlightTraceUpdates", param
"updates". Found $ReadOnlyArray

I ended up doing yarn upgrade to the entire app, but the error persists, if anyone has encountered same issue and knows how to solve it, any help would be appreciated.

2

Answers


  1. I have just updted and I’m having the same problem, but still don’t know how to solve it

    Login or Signup to reply.
  2. I just ran into this as well. Checked the RN github issues, and found this: https://github.com/facebook/react-native/issues/43678#issuecomment-2023948847

    Updating @react-native/babel-preset fixed it for me. Or more specifically in my case, babel-preset-expo since I’m using expo. I was running 10.0.1 and upgraded to 11.0.5. Back up and running.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search