tried to register two views with the same name rncsafeareaprovider ios code example
Example: expo Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider
Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider error with @react-navigation/stack
It means you have installed same extension multiple times.
Running "npm dedupe" command solved my problem.