Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 13: Expo-localization -> Cannot read property 'replace' of undefined #5768

Closed
RoromiDev opened this issue Sep 25, 2019 · 4 comments
Closed
Assignees
Labels

Comments

@RoromiDev
Copy link

馃悰 Bug Report

Environment

Expo CLI 3.1.2 environment info:
System:
OS: macOS 10.14.5
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.16.1 - /usr/local/opt/node@8/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/opt/node@8/bin/npm
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
expo: ^35.0.0 => 35.0.0
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
react-navigation: ^4.0.9 => 4.0.9
npmGlobalPackages:
expo-cli: 3.1.2

Steps to Reproduce

On iOS 13 only, I have Cannot read property 'replace' of undefined when i try to import expo-localization.
Simulator Screen Shot - iPhone 11 Pro Max - 2019-09-25 at 13 40 28

@RoromiDev RoromiDev added the bug label Sep 25, 2019
@RoromiDev RoromiDev changed the title Expo-localization -> Cannot read property 'replace' of undefined iOS 13: Expo-localization -> Cannot read property 'replace' of undefined Sep 25, 2019
@lukmccall
Copy link
Contributor

lukmccall commented Sep 25, 2019

I think it may be related to #5735.

@kirill-dev-pro
Copy link

I got same error after updating expo. Solved by removing node_modules and package-lock.json and then running npm i. But i got this #5769 after it

@kirill-dev-pro
Copy link

Hey @RoromiDev, check if #5735 (comment) solves your issue. It solved mine.

@lukmccall lukmccall self-assigned this Sep 27, 2019
@mskg
Copy link

mskg commented Sep 27, 2019

Just switch the language once in the simulator und the error is gone.

@lock lock bot added the outdated label Apr 2, 2020
@lock lock bot locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants