Next.js Manual Deployment - Not building

Hey Guys -

So I have a small Next.js app I’m trying to deploy to Netlify. My company uses Azure Devops as a repo, which isn’t in Netlify’s GUI walkthrough from hooking up a deployment, so I was just manually uploading it. However, I can’t seem to get the build/deployment correct.

It gives me a ‘Page Not Found’ screen.
I installed the Essential Next.js plugin onto my Netlify site and created a netlify.toml with the following for a build:

publish = “.next”

package = “@netlify/plugin-nextjs”

After that for manual deployment, I just drag my project file onto the deployment screen in Netlify.

Is there a step I’m missing? I thought the plugin would initiate the build automatically, but it doesn’t seem to be doing so.
Any help and guidance would be greatly appriciated.

Hey there, @mpalazzo :wave:

Thanks so much for reaching out! Sorry to hear you are encountering issues.

Can you please share your site name and your repo please? This will help us look into the error further. :slight_smile:

I believe that when you “drag & drop” a project to Netlify the assumption is that you’re uploading the static output of your build process (not the source).

E.g. You execute your build locally and then you drag up the output.