webraptor / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
134 stars 83 forks source link

TypeError: undefined is not an object (evaluating 'this._callListeners.bind') #12

Closed thedanielha closed 4 years ago

thedanielha commented 4 years ago
Screen Shot 2020-08-24 at 11 23 29 PM

Whenever I tried to move the cards this error is occurred.

TypeError: undefined is not an object (evaluating 'this._callListeners.bind') Animated.Event seems not having _callListeners

I tried this with newly initiated react native project and using the example swiper code from this repo and same error is occurred. So I think it is Swiper issue.

{ "name": "mobile", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { "@react-native-community/masked-view": "^0.1.10", "@react-navigation/native": "^5.7.3", "@react-navigation/stack": "^5.9.0", "mobx": "^5.15.6", "mobx-react": "^6.2.5", "mobx-react-lite": "^2.0.7", "react": "16.13.1", "react-native": "0.63.2", "react-native-deck-swiper": "^1.6.7", "react-native-gesture-handler": "^1.7.0", "react-native-reanimated": "^1.13.0", "react-native-safe-area-context": "^3.1.4", "react-native-screens": "^2.10.1", "react-native-view-overflow": "^0.0.5" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-decorators": "^7.10.5", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^1.1.0", "@types/jest": "^25.2.3", "@types/react-native": "^0.63.2", "@types/react-test-renderer": "^16.9.2", "@typescript-eslint/eslint-plugin": "^2.27.0", "@typescript-eslint/parser": "^2.27.0", "babel-jest": "^25.1.0", "eslint": "^6.5.1", "jest": "^25.1.0", "metro-react-native-babel-preset": "^0.59.0", "prettier": "^2.0.4", "react-test-renderer": "16.13.1", "typescript": "^3.8.3" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }

thedanielha commented 4 years ago

This is issue is closed because I found that the problem is related to babel not Swiper.