Jordan-Gilliam / ai-template

Mercury - Train your own custom GPT. Chat with any file, or website.
The Unlicense
422 stars 66 forks source link

Error: [Class extends value undefined is not a constructor or null #9

Open ali-hasnain opened 1 year ago

ali-hasnain commented 1 year ago

When I run it on my local, it shows this error: error - [Class extends value undefined is not a constructor or null

This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component ] { name: 'TypeError' } error - [Class extends value undefined is not a constructor or null

This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component ] { name: 'TypeError' }