n4kz/react-native-material-dropdown

TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.propTypes.style')

Victorvikson1996 opened this issue · 5 comments

TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.propTypes.style')

Same issue, some update ?

Duplicate #249

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
Copy patch to patches/react-native-material-textfield+0.12.0patch
yarn add patch-package postinstall-postinstall or npm i patch-package
yarn patch-package or npx patch-package

Fix is already applied. Add the following to package.json to not repeat the same next time:

"scripts": {
  "postinstall": "patch-package"
 }

Fix using example from n4kz/react-native-material-textfield#249 (comment) editing version version of patch only

Same issue, some update ?

patches/react-native-material-textfield+0.12.0patch

@zapcriativo, I believe you missed a .
Should be patches/react-native-material-textfield+0.12.0.patch