-
-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Labels
Description
Metro has been pinned to 0.83.2 for E2E tests with #5234
This was needed to handle a CI error (example CI failure) that was introduced with Metro 0.83.3
TypeError: configs.toReversed is not a function at mergeConfig (/home/runner/work/sentry-react-native/sentry-react-native/dev-packages/e2e-tests/react-native-versions/0.81.0/RnDiffApp/node_modules/metro-config/src/loadConfig.js:179:35)
The failure seems not to be related to our code but to the fact that older node versions do not support this method.
We should revisit this and unpin the metro version when a new version with a fix comes up, open a Metro PR fixing this, or investigate another solution like polyfilling the missing method.