react-native-web-community/react-native-web-webview

react-native-web alias breaks expo export:web

daledesilva opened this issue · 0 comments

While using expo, I've found that I can't run npx expo export:web in order to create my web build.
In doing so I receive an error.

Failed to compile
ModuleNotFoundError: Module not found: Error: Can't resolve 'react-native/Libraries/Image/AssetRegistry' in 

Note that npx expo start still works to develop.
And if I remove the alias (ie. 'react-native': 'react-native-web', from webpack.config.js) it works fine.

Is that alias really necessary? Or is this a difference in setup needs for expo vs create-react-app?