react-native-sortable-list icon indicating copy to clipboard operation
react-native-sortable-list copied to clipboard

on expo running expo start triggers an error

Open davidsomekh opened this issue 3 years ago • 3 comments

tried the sample, after installing the package and typing "expo start", I am getting this error:

./node_modules/react-native-sortable-list/src/SortableList.js:20:11 "export 'ViewPropTypes' was not found in 'react-native-web/dist/index' 18 | data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).isRequired, 19 | order: PropTypes.arrayOf(PropTypes.any),

20 | style: ViewPropTypes.style, | ^ 21 | contentContainerStyle: ViewPropTypes.style, 22 | innerContainerStyle: ViewPropTypes.style, 23 | sortingEnabled: PropTypes.bool,

davidsomekh avatar Jul 31 '22 11:07 davidsomekh

Hi there, a bugfix has been pushed to master for this, but the owner @gitim did not publish a new version on npm yet.

https://github.com/gitim/react-native-sortable-list/commit/78c8ec0e66ba792784131065fbeab3f365deb0dc

Point your package.json to the commit hash 78c8ec0e66ba792784131065fbeab3f365deb0dc to get the fix.

"react-native-sortable-list": "https://github.com/gitim/react-native-sortable-list#78c8ec0e66ba792784131065fbeab3f365deb0dc"

Hope this helps, I had the same issue and needed this library to work on RN v69

nabilfreeman avatar Aug 01 '22 16:08 nabilfreeman

@gitim - any chance to get this on npm?

SavageWilliam avatar Nov 29 '22 04:11 SavageWilliam

@gitim bump?

nabilfreeman avatar Nov 13 '23 18:11 nabilfreeman