Next.js Discord

Discord Forum

404: NOT_FOUND

Unanswered
samuelplim posted this in #help-forum
Open in Discord
Hi there, I could really use some help! I'm trying to deploy a Next.js + Prisma project to Vercel, but I'm getting a 404: NOT_FOUND error. Here are the details:

Error Code: NOT_FOUND
ID: gru1::bhhqg-1714625020299-906a7545f1d9

Additional Information:

I've checked the Prisma and Vercel configurations, and they seem to be correct.
I've tested the database connection, and it's working fine.
I've reviewed the deployment log, but I haven't found any relevant errors.

my git
https://github.com/Samuelplim/eventsOrg

1 Reply

I think I found the error, I was using "pages" outside of the Next.js project standard. How did I discover this? I created a new project with the Next.js template and I was making changes and deploying to Vercel. What I found bad is that the local build doesn't represent the real Vercel result. It would be great if it were possible to achieve the same result in the local environment.