-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Expo web: "export 'requireNativeComponent' was not found in 'react-native-web/dist/index' #884
Comments
@haveamission Thanks for your answer, your approach looks interesting. I will try that and let you know here if that worked! |
@haveamission @koaladlt Here is a patch I wrote some time ago to do this:
|
@jesse-savary How do I use this patch? I'm new to React Native and haven't needed to learn this yet. |
The patch for the 8.6.3, using the tool patch-package : https://gist.github.com/adderly/9cf1b5c2d6f51365a870c7ac70388c9a |
Describe the bug
Every time that I run the app on the web with expo, this error comes in.
To Reproduce
Steps to reproduce the behavior if possible, or a link to a reproduction repo:
Expected behavior
I need the app to compile, I'm not sure if React-Native-Fast-Image is available for React Native Web. That would not be a problem at first, but this error would not let the app compile.
Screenshots
![Screen Shot 2022-03-15 at 15 08 08](https://user-images.githubusercontent.com/64273203/158443561-12dbbf6c-343e-42ed-bc80-02b389cdec1a.png)
Dependency versions
The text was updated successfully, but these errors were encountered: