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

React Native Web Can't resolve '@stream-io/flat-list-mvcp' #25

Closed
pr4deep94 opened this issue Oct 22, 2021 · 2 comments
Closed

React Native Web Can't resolve '@stream-io/flat-list-mvcp' #25

pr4deep94 opened this issue Oct 22, 2021 · 2 comments

Comments

@pr4deep94
Copy link

pr4deep94 commented Oct 22, 2021

Its working for react native android and ios but its not working in react native web

Using the below version
"@stream-io/flat-list-mvcp": "^0.10.1",
"react-native-bidirectional-infinite-scroll": "^0.3.3",
"react-native-web": "^0.17.5"

![Screenshot 2021-10-
Screenshot 2021-10-22 at 4 12 49 PM

@Maxim-Filimonov
Copy link

I think this is related.

Looks like missing compiled index.js

> cat node_modules/@stream-io/flat-list-mvcp/package.json| grep main
"description": "maintainVisibleContentPosition support for Android react-native",
"main": "lib/commonjs/index",
> ls node_modules/@stream-io/flat-list-mvcp/lib/commonjs
FlatList.android.js FlatList.js ScrollView.android.js ScrollView.js index.js.map useMvcpTuner.js.map
FlatList.android.js.map FlatList.js.map ScrollView.android.js.map ScrollView.js.map useMvcpTuner.js

@santhoshvai
Copy link
Member

santhoshvai commented May 3, 2022

Thanks for pointing this out! It is fixed by #32

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