It seems like yarn is caching packages by version number, and the last change made here to fix PropTypes was not cached due to lack of version bumping.
Quickfix:
"react-native-search-box": "https://github.com/agiletechvn/react-native-search-box" in package.json
More proper way:
@anhtuank7c Bump version number to 0.0.14
Originally posted by @kacgrzes in #46 (comment)
there is no 0.0.14 version available