instamobile / recipes-app-react-native

Recipes App in React Native
https://instamobile.io
MIT License
769 stars 252 forks source link

"export 'ViewPropTypes' was not found in 'react-native-web/dist/index' #24

Open mareedu opened 2 years ago

mareedu commented 2 years ago

/node_modules/react-native-snap-carousel/src/pagination/PaginationDot.js:19:31 "export 'ViewPropTypes' was not found in 'react-native-web/dist/index' 17 | inactiveStyle: ViewPropTypes ? ViewPropTypes.style : View.propTypes.style, 18 | index: PropTypes.number,

19 | style: ViewPropTypes ? ViewPropTypes.style : View.propTypes.style, | ^ 20 | tappable: PropTypes.bool 21 | };

juliantreweeke commented 2 years ago

also getting same error as above

juliantreweeke commented 2 years ago

@mareedu I think this could be related, looking into it https://github.com/meliorence/react-native-snap-carousel/issues/931

juliantreweeke commented 2 years ago

looks like an issue with react-native-snap-carousel I got this kinda working on web by using a beta version, and running from root: yarn add react-native-snap-carousel@4.0.0-beta.6