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

on expo running expo start triggers an error #245

Open
davidsomekh opened this issue Jul 31, 2022 · 3 comments
Open

on expo running expo start triggers an error #245

davidsomekh opened this issue Jul 31, 2022 · 3 comments

Comments

@davidsomekh
Copy link

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,

@nabilfreeman
Copy link

nabilfreeman commented Aug 1, 2022

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

78c8ec0

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

@SavageWilliam
Copy link

@gitim - any chance to get this on npm?

@nabilfreeman
Copy link

@gitim bump?

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

3 participants