react-native-country-code-telephone-input
react-native-country-code-telephone-input copied to clipboard
Cannot read property 'func' of undefined
It seems that this library outdated.
Cannot read property 'func' of undefined
countrypicker.js:59:34 loadModuleImplementation require.js:174:4 guardedLoadModule require.js:126:11 _require require.js:110:2 phonenumberpicker.js:21 loadModuleImplementation require.js:174:4 guardedLoadModule require.js:126:11 _require require.js:110:2 SignupForm.js:4 loadModuleImplementation require.js:174:4
My project deps are:
"dependencies": {
"focus-redux-reducer": "~1.0.2-3",
"libphonenumber-js": "^0.4.32",
"material-native": "0.0.0-alpha.12",
"react": "~16.0.0-alpha.12",
"react-native": "^0.48.4",
"react-native-country-code-telephone-input": "0.0.9",
"react-native-firebase": "~3.0.0",
"react-native-i18n": "^2.0.6",
"react-native-router-flux": "^4.0.0-beta.21",
"react-native-vector-icons": "^4.4.0",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
I had the same issue, this what i did;
I cloned the whole repo and edited all React.PropTypes
to only PropTypes
from the prop-types
module
do you mind sending in the pull request