-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expo 49 not supporting i18n-js #1064
Comments
I have the problem too |
go to
it silent the error temporarily |
Any final solution on this? |
@EvanBacon / @byCedric - additionalExts: [ 'env.development.local', 'env.local', 'env.development', 'env' ], This is overriding Metro's default, so that
Could Expo add to Metro's defaults instead? |
WorkaroundAdd // metro.config.js - see https://docs.expo.dev/guides/customizing-metro/#customizing
const { getDefaultConfig } = require('expo/metro-config');
const config = getDefaultConfig(__dirname);
config.watcher.additionalExts.push('mjs', 'cjs');
module.exports = config; Closing as this issue is specific to Expo's configuration overrides (see above) and needs to be fixed there. |
Following @robhogan 's tip, I replaced the code of metro-config.js: module.exports = require('@expo/metro-config'); |
Bug
What is the current behavior?
Upgrading to Expo SDK 49 makes i18n-js fail.
Basically the same thing that was mentionned here but the issue is closed
Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system.
Yarn v1.22.15
ProductName: macOS
ProductVersion: 12.2.1
The text was updated successfully, but these errors were encountered: