Issue with Login After Build in Next.js Project
Unanswered
Cornish Rex posted this in #help-forum
Cornish RexOP
I'm experiencing an issue with my Next.js application. Both registration and login functionality work perfectly when running the application in development mode using npm run dev. However, after creating a production build with npm run build and running it with npm start, the registration works fine, but the login process fails.
Interestingly, there are no visible errors in the logs, which makes it even more challenging to debug. I have verified that all related environment variables and configurations are correct.
Has anyone encountered a similar issue or have any suggestions on how to troubleshoot this problem? Any insights would be greatly appreciated!
Interestingly, there are no visible errors in the logs, which makes it even more challenging to debug. I have verified that all related environment variables and configurations are correct.
Has anyone encountered a similar issue or have any suggestions on how to troubleshoot this problem? Any insights would be greatly appreciated!