upgrade-support icon indicating copy to clipboard operation
upgrade-support copied to clipboard

undefined is not an object evaluating '_reactNative.Animated.Text.propTypes.style'

Open Andrea-Arguello opened this issue 5 years ago • 2 comments

Environment

System:
    OS: Linux 5.3 Pop!_OS 18.04 LTS
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 253.70 MB / 7.64 GB
    Shell: 5.4.2 - /usr/bin/zsh
  Binaries:
    Node: 10.19.0 - /usr/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.13.4 - /usr/bin/npm
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Python: 2.7.17 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: ^4.5.1 => 4.5.1 
    react: ^16.13.1 => 16.13.1 
    react-native: ^0.62.0 => 0.62.0 
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

From 0.61.5 to 0.62.0

Description

image

We instance Animated as Animated.Value, Animated.View, Animated.timing and Animated.loop in our app. No idea why Animated.Text is being invoked, could this be a node_modules problem?

Andrea-Arguello avatar Apr 03 '20 05:04 Andrea-Arguello

I just found the cause of my issue. I had been using react-native-material-dropdown and they used:

 itemTextStyle: Text.propTypes.style,

I just commented out that line and everything worked again.

see this issue

EricWiener avatar Apr 03 '20 18:04 EricWiener

Any solution ?

agilesrivas avatar Sep 02 '20 13:09 agilesrivas