-
Notifications
You must be signed in to change notification settings - Fork 598
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
TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.propTypes.style') #249
Comments
i am also getting the same issue with react-native 0.63.2. |
Same issue |
Obviously is the library deprecated. I see some PR that are maybe fixing the issue. Try to fork the project and merge those pull requests to your fork. |
you may wanna take a look at this :) |
Also seeing the same issue after upgrading to RN 0.63.2. This lib should be marked as incompatible with at least 0.63.2 and maybe older versions too. |
fixing in node_modules is not a good solution :( |
this actually works |
same issue with react-native 0.63.2 |
I tried this, no work here |
Hopefully This will help you out |
use this to resolve problem Open node_modules and then search for react-native-material-textfield open the file and go to src folder |
This is wrong and DO NOT do it like that because next time you install npm packages your changes will be overwritten ;) |
pls tell me how to solve this problem |
For those who don't want to edit node_modules each time, here is a patch file according to @Fabrice-Beya advice using patch-package. Instruction: Create patches directory in your project's root Fix is already applied. Add the following to package.json to not repeat the same next time:
Fix using example from n4kz/react-native-material-textfield#249 (comment) editing version of patch only |
I encounter the same issue with using i find the solution in stackoverflow, second answer
|
@yeukfei02, @zapcriativo Thanks for this info, It really helped a lot. But now my dropdown's appearance is completely changed Do you have any recommendations on how to go about solving this? Or should I wait for the fix in the original react-native-material-dropdown? |
I guess the worst case is to avoid to use so better switch to use another dropdown lib in react native with expo |
I fixed it by adding react-native-material-dropdown, react-native-material-textfield, react-native-material-buttons libraries locally and then changing Animated.Text.propTypes.style to Text.propTypes.style inside react-native-material-textfield. |
It's because you replace react-native-material-dropdown to react-native-material-dropdown-v2 , I had this problem too so I just created the patch |
i dnt find folder in node_modules? can you explain me?? |
On recent version react-native (0.63.0) appears this error, I tryied to fix, but I didnt
TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.propTypes.style')
The text was updated successfully, but these errors were encountered: