'Component' cannot be used as a JSX component.
I saw someone else had this issue, but their solution (Updating to Next.js 13.2.4) didn't seem to work for me, and as far as I can tell everything is up to date on my end.
Getting this error:
4 Replies
Can you share more details and code? And what is the name of the file you are doing this in?
_app.tsx
I don't think it's anything that I did, as I created a completely new project using the same configuration and I'm running into the same problem.
I assume there's some dependency that's on the wrong version but I have no clue how to check, is there anything I can do?
What's even stranger is that Vercel seems to be able to build it, but running
npm run build
on my terminal failsI think your AppType is wrong
Could you give this a tryβ¦
I was able to solve the issue by downgrading to Next.js 13.2.4
Thanks for the advice though :)