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
Hello! I'm having some issues adding this polyfill to my app. We have an ejected Expo app that is using unimodules.
Steps to Reproduce:
npm install @expo/browser-polyfill --save
In my file:
import '@expo/browser-polyfill';
error: bundling failed: Error: Unable to resolve module expo from /Users/jwilliamson/Developer/QBMobile/node_modules/@expo/browser-polyfill/src/DOM/HTMLImageElement.js: Module expo does not exist in the Haste module map
Hello! I'm having some issues adding this polyfill to my app. We have an ejected Expo app that is using unimodules.
Steps to Reproduce:
In my file:
error: bundling failed: Error: Unable to resolve module
expo
from/Users/jwilliamson/Developer/QBMobile/node_modules/@expo/browser-polyfill/src/DOM/HTMLImageElement.js
: Moduleexpo
does not exist in the Haste module mapThis might be related to facebook/react-native#4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -rf /tmp/metro-bundler-cache-*
ornpm start -- --reset-cache
.rm -rf /tmp/haste-map-react-native-packager-*
.The text was updated successfully, but these errors were encountered: