react-native-country-code-telephone-input icon indicating copy to clipboard operation
react-native-country-code-telephone-input copied to clipboard

Cannot read property 'func' of undefined

Open tavantzo opened this issue 7 years ago • 2 comments

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"
	},

screenshot_1507705664

tavantzo avatar Oct 11 '17 07:10 tavantzo

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

patrickmuhi avatar Nov 15 '17 12:11 patrickmuhi

do you mind sending in the pull request

farazshaikh avatar Aug 19 '18 06:08 farazshaikh