-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"RNCSafeAreaProvider" was not found in the UIManager.] #422
Comments
What I have done so far:
Had to uninstall react-native-area-context because there's a new error: Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider. The second last step was important. I am still not sure why this workaround works and it's possible it's just me but I'm unblocked |
@crukundo this usually happens when you have multiple versions of react-native-safe-area-context installed so it might be some sort of metro module resolution issue, its most common in a mono-repo where metro is resolving the package from another folder in the repo. I've gotten past this in my projects by using rnx-kit to de-dupe modules https://microsoft.github.io/rnx-kit/docs/tools/metro-config#ensuring-a-single-instance-of-a-package |
hey @crukundo If your problem is solved can you please close the issue? |
Describe the bug
To Reproduce
Please attempt to run the example app here:
Expected behavior
This looks like a new error. I have tried to install react-native-safe-area-context with yarn and via expo and it won't budge. However, I am running an expo managed app so
pod install
wasn't necessary before. But nonetheless when I runexpo run:ios
, the pods are installed. No dice with android either. The error stays.Screenshots
This is exactly the error here #383 (comment)
**Additional context **
I am currently working with v6.0.1-beta.12 and I notice there's a new dependency for react-native-safe-area-context in v6.
The text was updated successfully, but these errors were encountered: