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
React-native deps (assume) not correctly being linked with packages #8507
Comments
I wonder if this is related to #8537. |
I'm experiencing the same issue. My react native app from my nx monorepo builds but gets a render error after adding react-navigation and running on ios simulator. Render Error: LOG Running "main" with {"rootTag":1,"initialProps":{}} This error is located at: This error is located at: |
This works for me, |
besides install react-navigation, you still need to add react-navigation to app's package.json. (not the root's package.json). i got it working: https://github.com/xiongemi/studio-ghibli-search-engine/blob/main/apps/studio-ghibli-search-engine-mobile/package.json#L7 |
This worked for me as well |
closed this issue with the solution https://stackoverflow.com/a/67956805 |
I'm kind of a beginner so I'm confused with what to do with "pod 'RNScreens', :path => '../../../node_modules/react-native-screens/'". Is it a command line that you put into the terminal or do you put it in the profile itself? |
This one worked for me: https://stackoverflow.com/a/70712913 |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
React-native app does not render, even though the build is successful. This occurred after the introduction of
react-navigation
. However, I do not believe the issues is withreact-navigation
but withnx
. As I have been able to addreact-navigation
to stand-alonereact-native
apps perfectly fine. The error might be caused due to dep linking.Expected Behavior
Adding
react-navigation
should not break the application and the app should render as a non-monorepo version would.Steps to Reproduce
Setup
nx
as per the docsAdd two apps:
nextjs
andreact-native (non-expo version)
[the apps will work perfectly fine at this stage]
yarn add
thereact-navigation
lib with all deps required by the docs, and follow the setupThe
react-native
app will fail to render at this stage.Failure Logs
Environment
Linux: Pop_OS (Ubuntu latest)
Node: v16 (latest)
React-native (latest)
yarn: v1
monorepo: nx
The text was updated successfully, but these errors were encountered: