expo: Expo client crashes with error t.preventAutoHide
🐛 Bug Report
Summary of Issue
Cannot open Expo Client either from a project or just from iOS simulator (without a specific project)
Environment - output of expo diagnostics & the platform(s) you’re targeting
Expo CLI 3.24.2 environment info: System: OS: macOS 10.15.6 Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node Yarn: 1.21.1 - ~/.nvm/versions/node/v12.13.1/bin/yarn npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm Watchman: 4.7.0 - /usr/local/bin/watchman IDEs: Android Studio: 3.5 AI-191.8026.42.35.5977832 Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild npmPackages: expo: ~38.0.8 => 38.0.9 react: ~16.11.0 => 16.11.0 react-dom: ~16.11.0 => 16.11.0 react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2 react-native-web: ~0.11.7 => 0.11.7 npmGlobalPackages: expo-cli: 3.24.2
Reproducible Demo
There was a problem running expo Unhandled JS Exception: TypeError: null is not an object (evaluating _t.preventAutoHide)
Steps to Reproduce
expo init testProject yarn start open project in iOS simulator (iPhone 11 13.4.1)
Expected Behavior vs Actual Behavior
I should be able open the app and retrieve a list of my projects
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 9
- Comments: 25 (11 by maintainers)
thanks for your patience. it looks like what happened was that a new simulator build was uploaded via our ci service using the same version name so it overwrote the previous one, so anyone who had downloaded it before was fine but new downloads would break.
👇 to resolve this issue 👇
expo client:install:ios~/.expo(rm -rf ~/.expowill do the trick)Thanks @brentvatne! It works.
I have the same issue on iOS simulator. When I click multiple times on “Run iOS Simulator” it eventually opens. It’s not a fix, but a way to ‘workaround’ it.