Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'func' of undefined #173

Open
talentedaamer opened this issue Oct 18, 2017 · 4 comments
Open

Cannot read property 'func' of undefined #173

talentedaamer opened this issue Oct 18, 2017 · 4 comments

Comments

@talentedaamer
Copy link

When i use import ViewPager from 'react-native-viewpager' it produced following error.

Cannot read property 'func' of undefined

DefaultViewPageIndicator.js:51:30
loadModuleImplementation
require.js:178:4
guardedLoadModule
require.js:130:11
_require
require.js:110:2

ViewPager.js:20:31
loadModuleImplementation
require.js:178:4
guardedLoadModule
require.js:130:11
_require
require.js:110:2

homePage.js:16
loadModuleImplementation
require.js:178:4

@iHadDream
Copy link

+1

@Mad-hu
Copy link

Mad-hu commented Nov 3, 2017

这个组建已经过期了,很多api已经更新了,如果想继续用,那就等作者更新最新版本,rn项目中PropType的问题。等不了的朋友可以换 react native swiper

@marcosbasualdo
Copy link

Hi! I created a fork and created the pull request to solve this. In the meantime, you can use my fork (https://github.com/marcosbasualdo/react-native-viewpager) until pull request is merged or the author fix this in another way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@marcosbasualdo @talentedaamer @Mad-hu @iHadDream and others