Error AtlasError Documentation and Resolution

Element type is invalid

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

React received an invalid component type, usually because a component import, export, or reference is wrong.

React error #130runtime
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
  • A component was imported with the wrong default or named import syntax.
  • A component reference is undefined because the export is missing or incorrect.
  • A path points to the wrong file or an unresolved module.
  1. Check whether the component should be imported as a default or named export.
  2. Confirm the component is exported correctly from its source file.
  3. Verify import paths and ensure the referenced value is a valid component.
React Docs: Minified React error #130
React error #130 element type is invalid: causes and fixes | Error Atlas