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
requirenativecomponent "RNSScreen" was not found in the uimanager #7566
Comments
Looks like there is this post on stackoverflow suggesting you might be missing importing react-native-screens. I don't think we've done any work to support that specific module so it's unclear whether that will work on Windows or not. Let us know though :) |
This seems like a bug in the react-navigation package: |
react-native-screens isn't yet supported on Windows (tracking issue here), which is probably what you're hitting given the above error and the discussion on stack overflow. That indicated a missing dependency (triggering this error on other platforms). But with that fixed you might see the dependency on screens. Can you roll back your version dependency on react-navigation? |
I tested code on Android and IOS .It is works.i use lastest version React-native version. |
I am having this problem, as well. I've been able to work around it (per a suggestion from someone at Microsoft) by rolling back react-native-screens to 2.18.1. Our app still needs further testing, but initial results look good. |
I changed -v to 2.18.1.but not work.same problem still |
Yeah, that sounds like the same error mentioned on the react-navigation repo: react-navigation/react-navigation#9480 |
if it work for someone can them send me git project?. |
Sorry it didn´t work for you. Just in case it makes a difference. I just created a sample app using typescript and csharp. I don´t have a repo for this, but it is really easy to get a similar app yourself. I just ran the commands below, modified App.tsx and install react-navigation.
npx react-native init samplepp --template react-native-template-typescript App.tsx
package-.json dependencies
|
@RahidAkhundzada could you upgrade |
Thank man I remove project and create new one.and it works .Thanks so much |
Screen navigation works.and issue fixed |
I had the same issue, and opened the android project on Android Studio, that solved the issue for me |
I still have this error on Android, also after adding "react-native-screens". { Any suggestions? |
{ i have same cant solve please anyone help |
@mauro-ferrario For any issues with Android you'll have to post an issue on the react-native-screens repo. We're only able to help with Windows issues here. |
find your node_modules path correctly, add : |
The issue comes when you use the urgent workaround for this issue is to use stack navigator works fine for Desktop RN Apps. |
I am using |
As mentioned here: #4152, react-native-screens does not yet have full Windows support. |
Nothing to preview |
Environment
Run the following in your terminal and copy the results here.
npx react-native --version
:npx react-native info
:PS C:\Users\axund\Desktop\Lombard> npx react-native --version
5.0.1-alpha.2
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19041
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 12.51 GB / 23.85 GB
Binaries:
Node: 15.12.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 7.8.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29
Build Tools: 23.0.1, 28.0.3, 29.0.2, 29.0.3, 30.0.2, 31.0.0
System Images: android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64
Android NDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions: 10.0.17763.0, 10.0.18362.0, 10.0.19041.0
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.7042882
Visual Studio: 16.9.31112.23 (Visual Studio Community 2019)
Languages:
Java: 1.8.0_211 - C:\Program Files\Java\jdk1.8.0_211\bin\javac.EXE
npmPackages:
@react-native-community/cli: * => 5.0.1-alpha.2
react: 17.0.1 => 17.0.1
react-native: 0.64.0 => 0.64.0
react-native-windows: ^0.64.0-0 => 0.64.3
npmGlobalPackages:
react-native: Not Found
The text was updated successfully, but these errors were encountered: