Error during deployement

Hello, for two days, I want to deploy my nextjs application and I have this error which prevents me from deploying my app.Someone help me fixed it please.

We need full build log and a repo if possible.

The repo seems to be private.

Can you confirm what your build command is set to in the Netlify Dashboard.

Build command should be the universal NextJS build command.
Publish directory should be the directory that is public.

I already solved the problem

Please remember to follow up your post with a solution. This helps others like you, who are experiencing the same problem you did,fix it.