Describe the bug
After updating Expo to v44 I started to get following bugs on Web version that stops app from starting. Apps works without any issues in Android & iOs. I was not able to monkey-patch it, though I'm not saying it's not possible.
Web Bundling complete 11408ms
./node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js:68:10
"export 'default' (imported as 'EmitterSubscription') was not found in './_EmitterSubscription'
66 | return (this._subscriber.addSubscription(
67 | eventType,
> 68 | new EmitterSubscription(this, this._subscriber, listener, context),
| ^
69 | ): any);
70 | }
71 |
./node_modules/react-native/Libraries/Performance/Systrace.js:216:3
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
214 | // with numeric IDs
215 | // TODO(davidaurelio) Scan polyfills for dependencies, too (t9759686)
> 216 | (require: $FlowFixMe).Systrace = Systrace;
| ^
217 | }
218 |
219 | module.exports = Systrace;
And this in web console.log:
Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
at Module.<anonymous> (_EmitterSubscription.js:60:1)
at Module../node_modules/react-native/Libraries/vendor/emitter/_EmitterSubscription.js (_EmitterSubscription.js:60:1)
at __webpack_require__ (bootstrap:789:1)
at fn (bootstrap:100:1)
at Module.<anonymous> (_EventEmitter.js:12:1)
at Module../node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js (_EventEmitter.js:173:1)
at __webpack_require__ (bootstrap:789:1)
at fn (bootstrap:100:1)
at Module../node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js (EventEmitter.js:14:1)
at __webpack_require__ (bootstrap:789:1)
at fn (bootstrap:100:1)
at Module.<anonymous> (Dimensions.js:11:1)
at Module../node_modules/react-native/Libraries/Utilities/Dimensions.js (Dimensions.js:142:1)
at __webpack_require__ (bootstrap:789:1)
...
To Reproduce
Steps to reproduce the behavior:
- Codes:
import AutoHeightImage from "react-native-auto-height-image";
...
<AutoHeightImage
resizeMode="contain"
width={200}
source={{ uri: uri }}
/>
...
- Start Expo app and then web version
- Wait for error in console & web console
Expected behavior
App is expected to run
Dependencies versions (please complete the following information):
Describe the bug
After updating Expo to v44 I started to get following bugs on Web version that stops app from starting. Apps works without any issues in Android & iOs. I was not able to monkey-patch it, though I'm not saying it's not possible.
And this in web console.log:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App is expected to run
Dependencies versions (please complete the following information):