-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Requiring unknown module "undefined" ( isNativeModule Function ) #5490
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
@SaatwikRishi Hi! Please reset cache each time you start metro |
@Latropos, tried that already, |
Had the exactly the same issue, had to downgrade to react-native-reanimated 2.17.0 but now I face this problem: #4408 React Native v0.72.7
Please, help |
0.72 is not compatible with 2.xx, try using the temp fix I have mentioned above |
It worked for debug mode, but not for release. I'm getting the same undefined is not a function, js engine: hermes |
i have this error as well - even though the PropsAllowlist seems to be clearly defined, it would crash every time. I ended up moving the contents of that file (propsAllowLists.ts) directly into the index.ts file, and that worked for some reason. Created a patch to work around it for now |
Same issue with me in v3.6.1 @luketgriffith Yes, it worked after your suggestions. Can we have a fix from the lib side? |
Same here with error in reanimated v3.6.1 and RN 0.72.7 |
Same with 0.71.6 and reanimated 3.6.1 |
Same here, trying to update RN 0.71.2 -> 0.73.2 using reanimated 3.6.1 |
Just working through an upgrade and encountered this issue. luketgriffith's workaround overcame the issue. |
Our project is also seeing this issue, SaatwikRishi temporary fix worked for us, but we also found this.... |
Can you share the patch file, please? |
Hope this helps
|
I'm facing the same issue after upgrading. Hoping for a permanent fix soon. versions: |
We just upgraded to the following versions and are experiencing the exact same issue. Will we be seeing a permanent fix soon as this issue has been ongoing for a while now? "react-native": "0.73.5", |
Also experiencing issue with this, is there a better fix than modifying a dependency?
|
Also facing the same issue with the latest versions! |
Same problem with 3.10.1, patch seems to fix it |
Description
I recently updated my react native version from 0.68.5 to 0.72.7 and updated react-navigation drawer to 6.6.6, now whenever i am trying to open the drawer, the animation is very sluggish and taking a lot of time to complete with a lot of lag also i am getting this error
I found a temporary fix by replacing
import { PropsAllowlists } from '../../propsAllowlists';
to
import * as List from '../../propsAllowlists';
and changing the function
from
function isNativeProp(propName: string): boolean {
return !!PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST[propName];
}
to
function isNativeProp(propName: string): boolean {
return !!List.PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST[propName];
}
but is there any other way to fix this?
RN Info:
Steps to reproduce
Snack or a link to a repository
N/A
Reanimated version
3.6.1
React Native version
0.72.7
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
Android emulator
Device model
Samsung Galaxy S22+ (Physical Device ), Pixel 6A (Emulator )
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: