Unable to deploy Next.js site with CLI

I keep getting a 404 error when trying to deploy my Next.js site via the netlify cli. Here are my netlify.toml, next.config.js, and package.json files.

next.config.js:
module.exports = {
output: ‘standalone’,
};

netlify.toml:
[[plugins]]
package = “@netlify/plugin-nextjs”
[build]
command = “next build”
publish = “.next/standalone”

package.json:
{
“name”: “chatext-template”,
“version”: “0.1.0”,
“description”: “chatext Landing Page Template”,
“private”: true,
“scripts”: {
“dev”: “next dev”,
“build”: “next build”,
“start”: “next start”
},
“repository”: {
“type”: “git”,
“url”: “https://gituhb.com/web3templates/chatext-template
},
“keywords”: [
“nextjs”,
“tailwindcss”,
“free”
],
“author”: “Surjith S M”,
“license”: “ISC”,
“dependencies”: {
@emotion/css”: “^11.10.6”,
@emotion/react”: “^11.10.6”,
@emotion/server”: “^11.10.0”,
@emotion/styled”: “^11.10.6”,
@headlessui/react”: “^1.7.14”,
@heroicons/react”: “^2.0.17”,
@tailwindcss/aspect-ratio”: “^0.4.2”,
“next”: “^13.3.1”,
“next-themes”: “^0.2.1”,
“react”: “^18”,
“react-dom”: “^18”,
“react-hook-form”: “^7.43.9”
},
“devDependencies”: {
“autoprefixer”: “^10.4.14”,
“eslint-config-prettier”: “^8.8.0”,
“postcss”: “^8.4.23”,
“tailwindcss”: “^3.3.1”
}
}

My .next folder has a ‘server’ and ‘standalone’ folder. I also have an ‘out’ directory. I’d appreciate help with this, thank you.

Sorry, can’t provide any actionable advice without seeing a site.

I’m not sure what you mean here. The site is chatext.app, what do I need to share if this is insufficient information?

@bilalmasters I don’t have a direct answer for you, but one thing you could try is to use the Deploy File Browser to check what files you have deployed.

It may give you an indication of what’s going wrong.

See:

@bilalmasters,

this is what you’ve currently deployed:

Not sure where your Next.js app exists in this structure, but to me, this looks like a configuration issue and we won’t be able to guess without seeing the repo.

Ah…That makes sense. Here’s the link to the repo:

I just pushed up a commit so that you can see my current configuration. Thanks, I appreciate it.

Your site appears to deploy fine: ChatExt (f-115078.netlify.app)

I simply ran netlify deploy --build --prod.