The default export is not a React Component in page:"/login"
Unanswered
Asian black bear posted this in #help-forum
Asian black bearOP
Hi, I'm facing this issue using next 13.4.19 for all the routes, I tried to remove node_modules and package-lock.json and reinstall them but still the same error
4 Replies
@Asian black bear Hi, I'm facing this issue using next 13.4.19 for all the routes, I tried to remove node_modules and package-lock.json and reinstall them but still the same error
American black bear
Hey, did you manage to fix this? I have the same problem.
if you are using route handlers in nextjs app dir (ie route.ts), then it has its [own api method](https://nextjs.org/docs/app/building-your-application/routing/route-handlers#convention), if you want to use react still then use page.tsx
-# @American black bear ^ because op may not be here anymore and you face the same issue
@risky -# <@622469622372892726> ^ because op may not be here anymore and you face the same issue
American black bear
Cheers! 🙂