navigate to any page in app/(public)/ direct in url get error 500
Unanswered
Vespid wasp posted this in #help-forum
Vespid waspOP
Good evening, I have a strange bug.
if I try to access the url myapp.com/login. Gives error 500.
but if I try to access the url myapp.com/ I am redirected to the url myapp.com/login. But in the console log is login?_rsc=1013924
Does anyone know what can it be?
if I try to access the url myapp.com/login. Gives error 500.
but if I try to access the url myapp.com/ I am redirected to the url myapp.com/login. But in the console log is login?_rsc=1013924
Does anyone know what can it be?
10 Replies
yeah. you coded something wrong
post the actual error
@DirtyCajunRice | AppDir post the actual error
Vespid waspOP
{
"name": "Internal Server Error.",
"message": "500 - Internal Server Error.",
"statusCode": 500
}
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
"name": "Internal Server Error.",
"message": "500 - Internal Server Error.",
"statusCode": 500
}
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
the error
in the server logs.
@DirtyCajunRice | AppDir that is not the actual error
Vespid waspOP
how can i get on aws?
this only happens in production, local host dont
@Vespid wasp how can i get on aws?
You deployed it. You should know how to access your own logs
@DirtyCajunRice | AppDir You deployed it. You should know how to access your own logs
Vespid waspOP
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /var/task/node_modules/react-dom/package.json