Skip to content
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

Error: Check the render method of App #5

Open
benkatzr opened this issue Nov 19, 2017 · 1 comment
Open

Error: Check the render method of App #5

benkatzr opened this issue Nov 19, 2017 · 1 comment

Comments

@benkatzr
Copy link

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in.

Check the render method of App.

This error is located at:
in App (at Router.js:88)
in Router (at index.js:26)
in Provider (at index.js:25)
in Component (at main.js:11)
in Root (at App.js:28)
in RCTView (at View.js:113)
in View (at App.js:27)
in App (at renderApplication.js:35)
in RCTView (at View.js:113)
in View (at AppContainer.js:102)
in RCTView (at View.js:113)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:34)
createFiberFromElementType
ReactNativeFiber-dev.js:974:100
createFiberFromElement
ReactNativeFiber-dev.js:954:47
reconcileSingleElement
ReactNativeFiber-dev.js:1403:51
reconcileChildFibers
ReactNativeFiber-dev.js:1457:63
reconcileChildrenAtPriority
ReactNativeFiber-dev.js:1634:78
reconcileChildren
ReactNativeFiber-dev.js:1631:40
finishClassComponent
ReactNativeFiber-dev.js:1669:30
updateClassComponent
ReactNativeFiber-dev.js:1659:33
beginWork
ReactNativeFiber-dev.js:1786:44
performUnitOfWork
ReactNativeFiber-dev.js:2528:33
workLoop
ReactNativeFiber-dev.js:2554:141
_invokeGuardedCallback
ReactNativeFiber-dev.js:73:23
invokeGuardedCallback
ReactNativeFiber-dev.js:47:40
performWork
ReactNativeFiber-dev.js:2593:41
scheduleUpdateImpl
ReactNativeFiber-dev.js:2728:101
scheduleUpdate
ReactNativeFiber-dev.js:2711:38
scheduleTopLevelUpdate
ReactNativeFiber-dev.js:2992:91
updateContainer
ReactNativeFiber-dev.js:3003:39
render
ReactNativeFiber-dev.js:3948:53
renderApplication
renderApplication.js:34:4
run
AppRegistry.js:120:10
runApplication
AppRegistry.js:207:26
__callFunction
MessageQueue.js:302:47

MessageQueue.js:116:26
__guard
MessageQueue.js:265:6
callFunctionReturnFlushedQueue
MessageQueue.js:115:17

Can you please help me with that error?

@prashantchaulagain
Copy link

Have you figured out the error? I am getting the same one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants