What is the upgrade to: react-native-material-dropdown++react-native-material-textfield+0.12.0.patch
Hello Team,
Please let me know that if this patch will not work, then what will?
Note I had to add material text dependency as well. ["react-native-material-textfield": "^0.16.1"]
Now I am going to fix manually as instructed in patch [diff].
Error:
` ERROR Failed to apply patch for package react-native-material-textfield at path
node_modules/react-native-material-dropdown/node_modules/react-native-material-textfield
This error was caused because patch-package cannot apply the following patch file:
patches/react-native-material-dropdown++react-native-material-textfield+0.12.0.patch
Try removing node_modules and trying again. If that doesn't work, maybe there was an accidental change made to the patch file? Try recreating it by manually editing the appropriate files and running:
patch-package react-native-material-dropdown/react-native-material-textfield
If that doesn't work, then it's a bug in patch-package, so please submit a bug report. Thanks!`
My package.json :
` { "name": "HeraMedica", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint .", "postinstall": "patch-package" }, "dependencies": { "@react-native-async-storage/async-storage": "^1.15.4", "@react-native-community/clipboard": "^1.5.1", "@react-native-community/datetimepicker": "^2.6.2", "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "^6.0.0", "@react-native-google-signin/google-signin": "^6.0.0", "@react-native-picker/picker": "^1.15.0", "@react-navigation/drawer": "^5.12.5", "@react-navigation/material-top-tabs": "^5.3.15", "@react-navigation/native": "^5.9.3", "@react-navigation/stack": "^5.14.3", "moment": "^2.29.1", "patch-package": "^6.4.7", "postinstall-postinstall": "^2.1.0", "react": "16.13.1", "react-native": "0.63.4", "react-native-crypto-js": "^1.0.0", "react-native-fbsdk": "^3.0.0", "react-native-gesture-handler": "^1.10.3", "react-native-keyboard-aware-scroll-view": "^0.9.4", "react-native-linear-gradient": "^2.5.6", "react-native-localize": "^2.1.0", "react-native-material-dropdown": "^0.11.1", "react-native-material-textfield": "^0.16.1", "react-native-modal-datetime-picker": "^9.2.3", "react-native-pager-view": "^5.1.10", "react-native-picker-select": "^8.0.4", "react-native-reanimated": "^2.1.0", "react-native-safe-area-context": "^3.2.0", "react-native-screens": "^2.18.1", "react-native-switch": "^2.0.0", "react-native-tab-view": "^3.0.1", "react-native-table-component": "^1.2.1", "react-redux": "^7.2.2", "redux": "^4.0.5", "redux-persist": "^6.0.0", "redux-thunk": "^2.3.0" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^1.1.0", "babel-jest": "^25.1.0", "eslint": "^6.5.1", "jest": "^25.1.0", "metro-react-native-babel-preset": "^0.59.0", "react-test-renderer": "16.13.1" }, "jest": { "preset": "react-native" } }
`