Alvaro
Alvaro

Reputation: 53

I have an error with the build of my nextjs project

enter image description hereI want to upload my project to Vercel but i have a problem with the build, i am new in this, so i don't know what to do, please help me

I want to upload my project to Vercel but i have a problem with the build, i am new in this, so i don't know what to do, please help me, the first pic is the error that i have in Vercel

Upvotes: 1

Views: 3800

Answers (1)

Vitor Rodrigues
Vitor Rodrigues

Reputation: 127

I experienced the same error. My solution was to delete one file (it wasn't currently in use). It was impeding the page from being built and, then, deployed. Check your '/', '/404' and '/Store' files. Try to look for any importations you may be missing, and also look for errors with any of your routes, if you're using them, those can be quite tricky.

Also, feel free to share the code in those 3 files aforementioned.

Upvotes: 2

Related Questions