React navigation getting error with eas build

Hello developers, I have a problem with esa build.

Invariant Violation: requireNativeComponent: “RNCSafeAreaProvider” was not found in the UIManager.

This error is located at:
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by App)
in Provider (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent)

Invariant Violation: requireNativeComponent: “RNSScreenStackHeaderConfig” was not found in the UIManager.

This error is located at:
in RNSScreenStackHeaderConfig (created by HeaderConfig)
in HeaderConfig (created by SceneView)
in RNSScreen (created by AnimatedComponent)
in AnimatedComponent
in AnimatedComponentWrapper (created by Screen)
in MaybeFreeze (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RCTView (created by View)
in View (created b

I use SDK 45

Hi @drabom123

Could you clarify your question? Do you mean you get that error while building with EAS Build? Or after you try to run the app that was built with EAS Build? Also, is this a development build? Or a preview build? Or a production build?

Are you using the managed workflow or bare workflow? (Do you have an ios directory in your app?)

If you have an ios directory, see this: Troubleshooting

What does expo doctor output? If it complains about something, try running expo doctor --fix-dependencies and see if that helps.