How to debug "Invariant Violation: Invariant Violation: Element type is invalid"

#1

There is error but the problem is I’m not sure which component or which file is causing issue.

Any way to make this to debug easier ?

My snack https://snack.expo.io/@cjmling/react-tab-and-drawer

Device: (96:380) Invariant Violation: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

This error is located at:
    in RCTView
    in f
    in RCTView
    in RCTView
    in RCTView
    in f
    in t
    in n
    in RCTView
    in f
    in t
    in n
    in RCTView
    in RCTView
    in f
    in RCTView
    in f
    in C
    in t
    in n
    in RCTView
    in n
    in RCTView
    in f
    in S
    in t
    in n
    in RCTView
    in t
    in t
    in v
    in r
    in t
    in RCTView
    in RCTView
    in t
    in RCTView
    in n
    in RCTView
    in t
    in n
    in v
    in t
    in RCTView
    in RCTView
    in t
    in RCTView
    in n
    in RCTView
    in f
    in RCTView
    in f
    in S
    in n
    in t
    in v
    in n
    in App
    in RCTView
    in RCTView
    in n
    in n
    in v
    in RCTView
    in RCTView
    in c

This error is located at:
    in n
    in App
    in RCTView
    in RCTView
    in n
    in n
    in v
    in RCTView
    in RCTView
    in c
closed #2

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.