-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ERROR Invariant Violation: requireNativeComponent: "RNCViewPager" was not found in the UIManager. #1303
Comments
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
Did you install react-native-pager-view? I think you should provide your package.json also |
This also happens to me when using eas dev client on an expo project. Even after installing pager view with |
@hpardess fix it after install and linking react-native-pager-view npm i -S react-native-pager-view@next it looks like autolinking does not work |
I'm getting the same error with Expo 43 (managed workflow) when running in dev client on iOS device, but not in the simulator.
|
got same issue for expo 44.. |
Still getting this issue on both, Android and iOS on a bare workflow, any updates on this bug? Thanks |
did it really work? |
I'm using bare workflow using
And installed the development apk on my emulator and it works. |
Worked for me thanks. I am just having an issue with exporting the navigator. So I have a Stack navigator where I am nesting also a Drawer navigator and now I want to do the same with Tab navigator. It fails and says something about not exporting/importing components properly.
|
Looks like you're not closing your IIRC: The exporting/importing issue crops up only when you have some errors in your JSX. |
If I place IncomingOutgoing screen as stack navigator it navigates correctly. There are no syntax errors on that screen. When I try to use tabs it fails. |
Sounds really weird if you have no syntax errors in the rest of the file. But as it is failing, there has to be something missing or out of place somewhere. |
I have heard others complaining about some versions of the tab package and stack package. |
not for me |
Also have the same issue in production with eas, with all updated packages (expo 45, tab-view 3.1.1, react-native 0.68.2, node 16.13.0). |
I am facing the same issue only in the built app, not in Expo Go.
I don't know how to fix this, it is very blocking for us. UPDATE : I found a fix. The Tabs are provided by a third part library which has the two dependencies |
Closing this since @alex-fournier posted a fix. |
I have both |
@harurang Which versions are you using? |
"react-native": "0.68.2" The app is on a managed version of expo . The app will run fine locally and locally in production mode, but once I try to use it in a remote environment it crashes. Looking at a few potentially related issues: https://github.com/callstack/react-native-pager-view/issues?q=Invariant+Violation+is%3Aclosed+ |
@harurang Can you test it using |
Thanks for the suggestion. It's still crashing on |
By downgrading to |
@harurang That's because |
yarn/npm start --reset-cache |
Current behavior
Expected behavior
it should display tab view but it fails with error
Reproduction
https://github.com/hpardess/ClinicApp
Platform
Environment
The text was updated successfully, but these errors were encountered: