- Download patch.zip
- set it at the root of the project
- unzip the patch.zip
- add this line in
package.json
- yarn install
"scripts": {
...
"postinstall": "./.patch/script-patch.sh"
...
},
package.json
"scripts": {
...
"postinstall": "./.patch/script-patch.sh"
...
},
Hi @Armanoide I am getting this error. What's the problem?
WKMIN9135977:tapin vijdadhi$ yarn install
yarn install v1.22.4
[1/4] 🔍 Resolving packages...
success Already up-to-date.
$ ./.patch/script-patch.sh
patching file ./node_modules/react-native-material-textfield/src/components/affix/index.js
Hunk #2 FAILED at 11.
1 out of 2 hunks FAILED -- saving rejects to file ./node_modules/react-native-material-textfield/src/components/affix/index.js.rej
patching file ./node_modules/react-native-material-textfield/src/components/helper/index.js
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 11.
2 out of 2 hunks FAILED -- saving rejects to file ./node_modules/react-native-material-textfield/src/components/helper/index.js.rej
patching file ./node_modules/react-native-material-textfield/src/components/label/index.js
Hunk #1 succeeded at 1 with fuzz 2.
Hunk #2 FAILED at 43.
1 out of 2 hunks FAILED -- saving rejects to file ./node_modules/react-native-material-textfield/src/components/label/index.js.rej
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
WKMIN9135977:tapin vijdadhi$