Giter VIP home page Giter VIP logo

Comments (17)

aminesebastian avatar aminesebastian commented on May 1, 2024 10

Just want to report I'm experiencing this too on Expo. I was able to resolve it by downgrading react-native-screens to 3.29.0:

npm install react-native-screens@~3.29.0

from react-navigation.

WyattBensman avatar WyattBensman commented on May 1, 2024 1

I am using Expo, and I am receiving the same error with the same code you provided. Any insight on how to correct this? I saw you mentioned deleting the build file in the ios folder, where exactly is this? Any other tips?

Screenshot 2024-04-05 at 10 34 33 AM In your home directory there will be ios folder, go in that folder and run command `rm -r build` and then again run the app in simulator or your device that will automatically create new latest build file.

I sadly don't have the same file structure. I will continue to trouble shoot & hopefully find a solution.

from react-navigation.

github-actions avatar github-actions commented on May 1, 2024

Hey @ayushthumar! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following:

A snack link is preferred since it's the easiest way to both create and share a repro. If it's not possible to create a repro using a snack, link to a GitHub repo under your username is a good alternative. Don't link to a branch or specific file etc. as it won't be detected.

Try to keep the repro as small as possible by narrowing down the minimal amount of code needed to reproduce the issue. Don't link to your entire project or a project containing code unrelated to the issue. See "How to create a Minimal, Reproducible Example" for more information.

You can edit your original issue to include a link to the repro, or leave it as a comment. The issue will be closed automatically after a while if you don't provide a repro.

from react-navigation.

github-actions avatar github-actions commented on May 1, 2024

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native
  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • react-native-tab-view

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

from react-navigation.

Dhruv-88 avatar Dhruv-88 commented on May 1, 2024

hello @ayushthumar can you share how you resolve this issue please ?

from react-navigation.

github-actions avatar github-actions commented on May 1, 2024

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

from react-navigation.

ayushthumar avatar ayushthumar commented on May 1, 2024

hello @ayushthumar can you share how you resolve this issue please ?

Hello @Dhruv-88, I just deleted the build file in ios folder and then rebuild it, and also I stopped the server at port 8081 and restarted it ! Let me know if it works for you or not !

from react-navigation.

WyattBensman avatar WyattBensman commented on May 1, 2024

I am using Expo, and I am receiving the same error with the same code you provided. Any insight on how to correct this? I saw you mentioned deleting the build file in the ios folder, where exactly is this? Any other tips?

from react-navigation.

ayushthumar avatar ayushthumar commented on May 1, 2024

I am using Expo, and I am receiving the same error with the same code you provided. Any insight on how to correct this? I saw you mentioned deleting the build file in the ios folder, where exactly is this? Any other tips?

Screenshot 2024-04-05 at 10 34 33 AM

In your home directory there will be ios folder, go in that folder and run command rm -r build and then again run the app in simulator or your device that will automatically create new latest build file.

from react-navigation.

ayushthumar avatar ayushthumar commented on May 1, 2024

I did not found any other valid and sensible solution for this issue, I am assuming that this issue came with the new version. @brentvatne @skevy @satya164 can you please help us on this.

from react-navigation.

netshade avatar netshade commented on May 1, 2024

I think you may have accidentally tagged me on this issue, I'm not able to assist with this.

from react-navigation.

jeremiasr avatar jeremiasr commented on May 1, 2024

Thanks! aminesebastian it's work!

from react-navigation.

gulsher7 avatar gulsher7 commented on May 1, 2024

same error facing . Tried all methods but now working

from react-navigation.

Petercopter avatar Petercopter commented on May 1, 2024

Same error as OP here. Another similarity is that it's the Tabs component

  • Using Expo with file based routing
  • Navigating from sign in (root) to /(app)/(tabs)
  • Downgrading from 3.30.1 to 3.29.0 resolves the issue

from react-navigation.

Generalchrist avatar Generalchrist commented on May 1, 2024

I'm encountering the same issue as described in this thread. However, I'm using createStackNavigator as outlined in the documentation.

While the application runs smoothly on the Android emulator, it throws the following error and gets stuck at the splash screen when launched on my iPhone 7:

ERROR Invariant Violation: requireNativeComponent: "RNSModalScreen" was not found in the UIManager.

  • I'm not using react-native-screens
  • I'm using expo so I don't have the same folder structure

EDIT: I solved it by this command:
npx expo install react-native-screens react-native-safe-area-context
I don't use these packages but somehow something needs them.

from react-navigation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.