Skip to content

on expo running expo start triggers an error #245

Open

Description

@davidsomekh

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,

Activity

  1. nabilfreeman commented on Aug 1, 2022

    @nabilfreeman

    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

  2. SavageWilliam commented on Nov 29, 2022

    @SavageWilliam

    @gitim - any chance to get this on npm?

  3. nabilfreeman commented on Nov 13, 2023

    @nabilfreeman

    @gitim bump?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions