-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
upgrade React Native to 0.57.3 TypeError: undefined is not a function (evaluating 'instance.render()') #21856
Comments
10-18 19:36:43.209 10916-10965/com.cashier.ht E/ReactNativeJS: 'Warning: %s(...): No |
I have the same problem. |
Same here |
This comment has been minimized.
This comment has been minimized.
Same on RN 0.57.5 . Maybe it is some way related to some unresolved old dependencies. UPD: Solved this, by deleting android/ and ios/ folders, making |
@NelGarbuzova Can you tell me your specific operation? I have the same problem now. Thank you very much! |
@LingYun i just deleted android/ and ios/ folders, then run |
i dunno how but yarn add @babel/runtime or npm i -s @babel/runtime works for me |
@duchunter did not worked. |
Use this version to resolve this error :). I have tested it, and worked fine: |
any idea? or any one know the cause of problem? i can't solve this problem. i try all comment but not work |
We are going to close this issue as it seems to be out of date. Please try to update to latest React Native 0.59.x and we can reopen this if the issue still persists. |
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 134.06 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.4.0 - /usr/local/bin/node
Yarn: 1.7.0 - ~/.yarn/bin/yarn
npm: 5.8.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 20.0.0, 23.0.1, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.3
API Levels: 21, 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4720617
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
react-native: 0.57.3 => 0.57.3
npmGlobalPackages:
react-native-cli: 2.0.1
Description
upgrade React Native to 0.57.3 , Android Studio build project finish. i run android complete but when App start show a red box about
TypeError: undefined is not a function (evaluating 'instance.render()')
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered: