OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

React Js console error type is invalid- expected a string (for built-in components) or a class/function (for composite components) but got: undefined

  • Thread starter Thread starter Naveen NK
  • Start date Start date
N

Naveen NK

Guest
I have encountered the following error. I can't find the root cause of this error. If anyone has faced this error, please answer.

page.tsx:53 Warning: React.jsx: 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.

<p>I have encountered the following error. I can't find the root cause of this error. If anyone has faced this error, please answer.</p>
<p><strong>page.tsx:53 Warning: React.jsx: 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.</strong></p>
 

Latest posts

D
Replies
0
Views
1
Dhanushka Amarakoon
D
S
Replies
0
Views
1
Shikhar Ambashta
S
Top