You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: