The default export is not a React Component in page:"/login"
Unanswered
Asian black bear posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
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
![Image](https://cdn.discordapp.com/attachments/1150062419457097858/1150062419683586119/Screenshot_2023-09-09_at_4.32.15_PM.png?ex=66b96757&is=66b815d7&hm=fed8eebfc2f3e5f8e6403b4c279006d19b43d279bca1c3515189c8e45c3a8844&)
![Image](https://cdn.discordapp.com/attachments/1150062419457097858/1150062419914281021/Screenshot_2023-09-09_at_4.32.26_PM.png?ex=66b96758&is=66b815d8&hm=52c0468d5e4499beb8495048a5e7315951ff27950348c22c33a19383d76cfdce&)
4 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
American black bear
Hey, did you manage to fix this? I have the same problem.
![Avatar](https://cdn.discordapp.com/avatars/657067112434499595/c78dd8e985ede1ad50c31ac682dd91a1.webp?size=256)
risky
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
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
American black bear
Cheers! 🙂