-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Description
Environment
- OS: Windows 10
- Node: 8.11.4
- Yarn: 1.9.4
- npm: 6.4.1
- react-native-cli: 2.0.1
- react-native: 0.57.5
Description
TypeError: undefined is not a function (evaluating 'instance.render()')
This error is located at: in AppContainer (at renderApplication.js:33)
Reproducible Demo
--- package.json ---
{
"name": "test",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"@babel/core": "^7.1.6",
"babel-core": "^6.26.3",
"react": "16.6.1",
"react-native": "0.57.5"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.49.2",
"react-test-renderer": "16.6.1"
},
"jest": {
"preset": "react-native"
}
}
very simple. just "react-native run-android" and tada !!
abdulsalam90, janziemba, bosz and tunght1990