ReferenceError: Can't find variable: _UIManager
See original GitHub issueDescription
Getting an error every time I try to run my app on the android and ios simulator. It’ll work for one but error out when i try to navigate on the other. tried cleaning cache, reinstalling nodemodules, cleaning project, etc.
Version
0.67.3
Output of npx react-native info
System: OS: macOS 12.0 CPU: (8) x64 Apple M1 Pro Memory: 70.20 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node Yarn: Not Found npm: 8.1.4 - ~/.nvm/versions/node/v16.13.1/bin/npm Watchman: 2021.10.18.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 13.1/13A1030d - /usr/bin/xcodebuild Languages: Java: 11.0.10 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: ^17.0.2 => 17.0.2 react-native: ^0.67.3 => 0.67.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
npm run ios and npm run android:devdebug
will run on ios but errors out on android with the error message ReferenceError: Can't find variable: _UIManager
Snack, code example, screenshot, or link to a repository
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top GitHub Comments
@justinairbase When using Metro Server in a local dev environment, we have seen some inconsistencies with Metro applying our babel transforms that can lead to issues like this. The workaround is to disable our
'@fullstory/react-native'
babel plugin in local dev environments. This shouldn’t be happening in production so long as Metro Server isn’t being used in production as well. If you’re still having issues, please reach out to mobile-support@fullstory.com and one of our Support Engineers will be happy to work with you.This issue was closed because it has been stalled for 7 days with no activity.