larsvinter / react-native-awesome-button

A button React Native component supporting showing different states with animations
MIT License
235 stars 47 forks source link

Can't resolve 'RecyclerViewBackedScrollView' #25

Open lukem512 opened 7 years ago

lukem512 commented 7 years ago

Hello,

I'm getting the following error when packaging my app that uses RNAB. Are you able to shed some light as to it's cause?

ERROR in ./~/react-native-awesome-button/~/react-native/Libraries/react-native/react-native.js
    Module not found: Error: Can't resolve 'RecyclerViewBackedScrollView' in 'PROJECT/node_modules/react-native-awesome-button/node_modules/react-native/Libraries/react-native'
     @ ./~/react-native-awesome-button/~/react-native/Libraries/react-native/react-native.js 96:11-50
     @ ./~/react-native-awesome-button/src/AwesomeButton.js
     @ ./~/react-native-awesome-button/index.js

My versions are as follows:

"react-native": "0.43.3",
"react-native-awesome-button": "^1.8.2",

Thanks

lukem512 commented 7 years ago

A colleague has dug into this and has found that it is because RecyclerViewBackedScrollView has been deprecated and removed from recent versions of react-native.