Closed shsunmoonlee closed 6 years ago
It looks like you are using an older version of React Native. Please update to the latest release, v0.56 and verify if the issue still exists.
The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running react-native info
on a project using the latest release.
Environment
Environment: OS: macOS High Sierra 10.13.6 Node: 9.11.1 Yarn: 1.6.0 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: 3.1 AI-173.4819257 Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.1 => 0.55.1
Description
I'm getting this error when I run it on ignite react native boiler plate andross. It works fine on its own when I run this example. https://github.com/gameboyVito/react-native-ultimate-listview/tree/master/Example
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of ListScreen.
wonder what's the issue. I would appreciate your help. thanks
ListScreen.js
Navigation.js
Reproducible Demo
https://github.com/gameboyVito/react-native-ultimate-listview/tree/master/Example