react-ui-kit / dribbble2react

Transform Dribbble designs to React-Native code | Shop UI Kit >>
https://react-native-10x-faster.com
MIT License
2.56k stars 1.39k forks source link

building in expo is complete but after that TypeErroe occur. #39

Closed harshalsojitra closed 5 years ago

harshalsojitra commented 5 years ago

TypeError: TypeError: undefined is not a function (near '..._reactNative.Animated.evnet...')

This error is located at: in Welcome (at SceneView.js:9) in SceneView (at StackViewLayout.tsx:888) in RCTView (at View.js:44) in RCTView (at View.js:44) in RCTView (at View.js:44) in AnimatedComponent (at StackViewCard.tsx:93) in RCTView (at View.js:44) in AnimatedComponent (at screens.native.js:59) in Screen (at StackViewCard.tsx:80) in Card (at createPointerEventsContainer.tsx:95) in Container (at StackViewLayout.tsx:971) in RCTView (at View.js:44) in ScreenContainer (at StackViewLayout.tsx:383) in RCTView (at View.js:44) in AnimatedComponent (at StackViewLayout.tsx:379) in Handler (at StackViewLayout.tsx:372) in StackViewLayout (at withOrientation.js:30) in withOrientation (at StackView.tsx:103) in RCTView (at View.js:44) in Transitioner (at StackView.tsx:40) in StackView (at createNavigator.js:61) in Navigator (at createKeyboardAwareNavigator.js:12) in KeyboardAwareNavigator (at createAppContainer.js:429) in NavigationContainer (at App.js:62) in RCTView (at View.js:44) in Block (at App.js:61) in App (at withExpoRoot.js:22) in RootErrorBoundary (at withExpoRoot.js:21) in ExpoRootComponent (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)

This error is located at: in NavigationContainer (at App.js:62) in RCTView (at View.js:44) in Block (at App.js:61) in App (at withExpoRoot.js:22) in RootErrorBoundary (at withExpoRoot.js:21) in ExpoRootComponent (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)

hetmann commented 5 years ago

@harshalsojitra thank you for pointing this out. Based on the error you need to check: screens\Welcome.js:115:20 in renderIllustrations

Double check if all images are loaded, maybe you need to add an extra condition to check the list images.

harshalsojitra commented 5 years ago

can you please tell me which condition do i have to use in order to get rid of error?

harshalsojitra commented 5 years ago

Invariant Violation: 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, or you might have mixed up default and named imports.

Check the render method of Welcome.

This error is located at: in RCTView (at View.js:44) in Block (at Welcome.js:144) in RCTView (at View.js:44) in Block (at Welcome.js:129) in Welcome (at SceneView.js:9) in SceneView (at StackViewLayout.tsx:888) in RCTView (at View.js:44) in RCTView (at View.js:44) in RCTView (at View.js:44) in AnimatedComponent (at StackViewCard.tsx:93) in RCTView (at View.js:44) in AnimatedComponent (at screens.native.js:59) in Screen (at StackViewCard.tsx:80) in Card (at createPointerEventsContainer.tsx:95) in Container (at StackViewLayout.tsx:971) in RCTView (at View.js:44) in ScreenContainer (at StackViewLayout.tsx:383) in RCTView (at View.js:44) in AnimatedComponent (at StackViewLayout.tsx:379) in Handler (at StackViewLayout.tsx:372) in StackViewLayout (at withOrientation.js:30) in withOrientation (at StackView.tsx:103) in RCTView (at View.js:44) in Transitioner (at StackView.tsx:40) in StackView (at createNavigator.js:61) in Navigator (at createKeyboardAwareNavigator.js:12) in KeyboardAwareNavigator (at createAppContainer.js:429) in NavigationContainer (at App.js:63) in RCTView (at View.js:44) in Block (at App.js:62) in App (at withExpoRoot.js:22) in RootErrorBoundary (at withExpoRoot.js:21) in ExpoRootComponent (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)

This error is located at: in NavigationContainer (at App.js:63) in RCTView (at View.js:44) in Block (at App.js:62) in App (at withExpoRoot.js:22) in RootErrorBoundary (at withExpoRoot.js:21) in ExpoRootComponent (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)

harshalsojitra commented 5 years ago

thanks it works fine!