Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. #20397
Labels
Resolution: Locked
This issue was locked by the bot.
Environment
Environment:
OS: macOS High Sierra 10.13.5
Node: 10.5.0
Yarn: 1.5.1
npm: Not Found
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ~0.55.2 => 0.55.4
Description
Hi ! 👋
I initiated a new project with Expo, everything was working fine, but since I ejected it, I can't get rid of that error:
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
I have a little bit of experience with React Native but I can't put my finger on the problem here.
Reproducible Demo
Initiate a project with Expo
Eject it
/index.js
:/app/index.js
:And here is the error:
The text was updated successfully, but these errors were encountered: