TypeError: undefined is not a function (evaluating 'instance.render()')
See original GitHub issueEnvironment
- 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 !!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:25 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: 'undefined' is not a function
Uncaught TypeError: 'undefined' is not a function. This is a common JavaScript error that happens when you try to call a function before...
Read more >React Native: TypeError: Undefined is not a Function ...
When I run npm start for the emulator, I receive the following error: React Native Version Mismatch. Javascript: 0.57.2. Native: 0.55.4. I have ......
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >undefined is not a function react-native, typeerror 0 native ...
undefined is not a function (evaluating 'instance.render()') react native. We are automatically closing this issue because it does not appear to follow any ......
Read more >TypeError: includes is not a function in JavaScript | bobbyhadz
The "includes is not a function" error occurs when the includes() method is called on a value that is not of type string...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
finally i’ve found the solution. at least it works for me. i’ve moved to here. it even teaches you how to migrate from here 😆
Hi, Have you found any solution to this problem? I am facing the same problem